Class RevokeTokenHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>, io.vertx.ext.web.handler.BodyHandler

    public class RevokeTokenHandler
    extends RefreshTokenHandler
    Author:
    Paul Withers Handlers for revoking OAuth tokens. Bearer token expected on incoming. If included, the token is revoked with the relevant provider
    • Constructor Detail

      • RevokeTokenHandler

        public RevokeTokenHandler​(io.vertx.ext.auth.oauth2.OAuth2Auth oAuthProvider,
                                  String providerName)
        Parameters:
        oAuthProvider - current OAUth provider config
        providerName - OAuth provider name
    • Method Detail

      • handle

        public void handle​(io.vertx.ext.web.RoutingContext ctx)
        Specified by:
        handle in interface io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
        Overrides:
        handle in class RefreshTokenHandler