Package swiss.trustbroker.oidc
Class CustomJwtTimestampValidator
java.lang.Object
swiss.trustbroker.oidc.CustomJwtTimestampValidator
- All Implemented Interfaces:
org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
public final class CustomJwtTimestampValidator
extends Object
implements org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
-
Constructor Summary
ConstructorsConstructorDescriptionCustomJwtTimestampValidator(OidcClient oidcClient, TrustBrokerProperties trustBrokerProperties) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.core.OAuth2TokenValidatorResultvalidate(org.springframework.security.oauth2.jwt.Jwt token)
-
Constructor Details
-
CustomJwtTimestampValidator
public CustomJwtTimestampValidator(OidcClient oidcClient, TrustBrokerProperties trustBrokerProperties)
-
-
Method Details
-
validate
public org.springframework.security.oauth2.core.OAuth2TokenValidatorResult validate(org.springframework.security.oauth2.jwt.Jwt token) - Specified by:
validatein interfaceorg.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
-