Class ZoomOAuth2API


  • public class ZoomOAuth2API
    extends io.vertx.ext.auth.oauth2.impl.OAuth2API
    Author:
    Paul Withers OAuth2API implementation for Zoom. Zoom's token revocation does not follow IETF standards. Instead of token and tokenType in body of the POST request, it expects the accessToken in the query string. So a separate class is required to override that method.
    • Constructor Detail

      • ZoomOAuth2API

        public ZoomOAuth2API​(io.vertx.core.Vertx vertx,
                             io.vertx.ext.auth.oauth2.OAuth2Options config)
        Parameters:
        vertx - current Vertx instance
        config - OAuth options
    • Method Detail

      • tokenRevocation

        public void tokenRevocation​(String tokenType,
                                    String token,
                                    io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        Revoke an obtained access or refresh token. Unlike https://tools.ietf.org/html/rfc7009, Zoom requires token as query parameter
        Overrides:
        tokenRevocation in class io.vertx.ext.auth.oauth2.impl.OAuth2API