Class JwtIssuerValidator

    • Constructor Detail

      • JwtIssuerValidator

        public JwtIssuerValidator​(java.lang.String issuer)
        Constructs a JwtIssuerValidator using the provided parameters
        Parameters:
        issuer - - The issuer that each Jwt should have.
    • Method Detail

      • validate

        public OAuth2TokenValidatorResult validate​(Jwt token)
        Verify the validity and/or constraints of the provided OAuth 2.0 Token.
        Specified by:
        validate in interface OAuth2TokenValidator<Jwt>
        Parameters:
        token - an OAuth 2.0 token
        Returns:
        OAuth2TokenValidationResult the success or failure detail of the validation