Class AccessTokenVerifier

    • Constructor Detail

      • AccessTokenVerifier

        protected AccessTokenVerifier​(TokenStore tokenStore)
    • Method Detail

      • verify

        public AccessTokenVerifier.TokenState verify​(OAuth2Request request)
        Verifies that the specified OAuth2 request contains a valid access token which has not expired.
        Parameters:
        request - The OAuth2 request. Must not be null.
        Returns:
        true if the request contains an access token which is valid and has not expired.
      • obtainTokenId

        protected abstract String obtainTokenId​(OAuth2Request request)
        Obtain the token ID from the request.
        Parameters:
        request - The OAuth2 request. Must not be null.
        Returns:
        The String access token ID.