Class AudienceValidator
java.lang.Object
com.google.cloud.spring.security.iap.AudienceValidator
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
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.- Since:
- 1.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.springframework.security.oauth2.core.OAuth2TokenValidatorResult
validate
(org.springframework.security.oauth2.jwt.Jwt t)
-
Constructor Details
-
AudienceValidator
-
-
Method Details
-
validate
public org.springframework.security.oauth2.core.OAuth2TokenValidatorResult validate(org.springframework.security.oauth2.jwt.Jwt t) - Specified by:
validate
in interfaceorg.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getAudience
-