public class AudienceValidator extends Object implements org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>, org.springframework.beans.factory.InitializingBean
Jwt
token validator for a custom audience claim.Constructor and Description |
---|
AudienceValidator(AudienceProvider audienceProvider) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
getAudience() |
org.springframework.security.oauth2.core.OAuth2TokenValidatorResult |
validate(org.springframework.security.oauth2.jwt.Jwt t) |
public AudienceValidator(AudienceProvider audienceProvider)
public org.springframework.security.oauth2.core.OAuth2TokenValidatorResult validate(org.springframework.security.oauth2.jwt.Jwt t)
validate
in interface org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public String getAudience()
Copyright © 2021. All rights reserved.