Class RevokingOAuthTokensHandler

java.lang.Object
net.ltgt.oidc.servlet.RevokingOAuthTokensHandler
All Implemented Interfaces:
OAuthTokensHandler

public class RevokingOAuthTokensHandler extends Object implements OAuthTokensHandler
An OAuthTokensHandler that immediately (though asynchronously) revokes the access token.

This is the default handler used by the CallbackServlet when no specific handler has been configured, using the globally configured HTTP request sender.

See Also:
  • Constructor Details

    • RevokingOAuthTokensHandler

      public RevokingOAuthTokensHandler(Configuration configuration)
      Constructs a revoking token handler with the given configuration.

      The asynchronous task will be executed in the ForkJoinPool.commonPool().

    • RevokingOAuthTokensHandler

      public RevokingOAuthTokensHandler(Configuration configuration, @Nullable HTTPRequestSender httpRequestSender)
      Constructs a revoking token handler with the given configuration and HTTP request sender.

      The asynchronous task will be executed in the ForkJoinPool.commonPool().

    • RevokingOAuthTokensHandler

      public RevokingOAuthTokensHandler(Configuration configuration, Executor executor)
      Constructs a revoking token handler with the given configuration and executor, and no HTTP executor sender.
    • RevokingOAuthTokensHandler

      public RevokingOAuthTokensHandler(Configuration configuration, @Nullable HTTPRequestSender httpRequestSender, Executor executor)
      Constructs a revoking token handler with the given configuration, HTTP executor sender, and executor.
  • Method Details