Class TokenInvalidator


  • public class TokenInvalidator
    extends Object
    Invalidates tokens and all their associated tokens. i.e. an Access Token and the Refresh Tokens and Authorization code used to issue or refresh it.
    Since:
    12.0.0
    • Constructor Detail

      • TokenInvalidator

        @Inject
        public TokenInvalidator​(TokenStore tokenStore,
                                OAuth2RealmResolver realmResolver)
        Constructs a new TokenInvalidator.
        Parameters:
        tokenStore - An instance of the TokenStore.
        realmResolver - An instance of the OAuth2RealmResolver