public final class JwtIssuerValidator extends java.lang.Object implements OAuth2TokenValidator<Jwt>
Jwt, that is matches a configured value| Constructor and Description |
|---|
JwtIssuerValidator(java.lang.String issuer)
Constructs a
JwtIssuerValidator using the provided parameters |
| Modifier and Type | Method and Description |
|---|---|
OAuth2TokenValidatorResult |
validate(Jwt token)
Verify the validity and/or constraints of the provided OAuth 2.0 Token.
|
public JwtIssuerValidator(java.lang.String issuer)
JwtIssuerValidator using the provided parametersissuer - - The issuer that each Jwt should have.public OAuth2TokenValidatorResult validate(Jwt token)
OAuth2TokenValidatorvalidate in interface OAuth2TokenValidator<Jwt>token - an OAuth 2.0 token