Package com.hcl.labs.domi.providers
Class ZoomOAuth2API
- java.lang.Object
-
- io.vertx.ext.auth.oauth2.impl.OAuth2API
-
- com.hcl.labs.domi.providers.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 Summary
Constructors Constructor Description ZoomOAuth2API(io.vertx.core.Vertx vertx, io.vertx.ext.auth.oauth2.OAuth2Options config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
tokenRevocation(String tokenType, String token, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
Revoke an obtained access or refresh token.
-
-
-
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 classio.vertx.ext.auth.oauth2.impl.OAuth2API
-
-