public final class JwtValidators
extends java.lang.Object
OAuth2TokenValidator<Jwt>
Modifier and Type | Method and Description |
---|---|
static OAuth2TokenValidator<Jwt> |
createDefault()
Create a
Jwt Validator that contains all standard validators. |
static OAuth2TokenValidator<Jwt> |
createDefaultWithIssuer(java.lang.String issuer)
Create a
Jwt Validator that contains all standard validators when an issuer
is known. |
public static OAuth2TokenValidator<Jwt> createDefaultWithIssuer(java.lang.String issuer)
Create a Jwt
Validator that contains all standard validators when an issuer
is known.
User's wanting to leverage the defaults plus additional validation can add the
result of this method to DelegatingOAuth2TokenValidator
along with the
additional validators.
issuer
- the issuerpublic static OAuth2TokenValidator<Jwt> createDefault()
Create a Jwt
Validator that contains all standard validators.
User's wanting to leverage the defaults plus additional validation can add the
result of this method to DelegatingOAuth2TokenValidator
along with the
additional validators.