Class TokenValidator

    • Method Detail

      • parseAndVerifyToken

        public AccessToken parseAndVerifyToken​(String bearerToken)
                                        throws OidcException
        Parse and verify the given bearer token.
        Parameters:
        bearerToken - the bearer token
        Returns:
        the AccessToken if the bearer token was valid
        Throws:
        OidcException - if the bearer token is invalid
      • builder

        public static TokenValidator.Builder builder​(OidcClientConfiguration clientConfiguration)
        Construct a new builder instance.
        Parameters:
        clientConfiguration - the OIDC client configuration
        Returns:
        the new builder instance