public class OAuth2Auth extends AuthProvider
AuthProvider instances.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<OAuth2Auth> |
__TYPE_ARG |
| Constructor and Description |
|---|
OAuth2Auth(OAuth2Auth delegate) |
authenticate, newInstance, rxAuthenticatepublic static final io.vertx.lang.rx.TypeArg<OAuth2Auth> __TYPE_ARG
public OAuth2Auth(OAuth2Auth delegate)
public String toString()
toString in class AuthProviderpublic boolean equals(Object o)
equals in class AuthProviderpublic int hashCode()
hashCode in class AuthProviderpublic OAuth2Auth getDelegate()
getDelegate in class AuthProvider@Deprecated public static OAuth2Auth createKeycloak(Vertx vertx, OAuth2FlowType flow, JsonObject config)
vertx - the Vertx instanceflow - config - the config as exported from the admin console@Deprecated public static OAuth2Auth create(Vertx vertx, OAuth2FlowType flow, OAuth2ClientOptions config)
vertx - the Vertx instanceflow - config - the config@Deprecated public static OAuth2Auth create(Vertx vertx, OAuth2FlowType flow)
vertx - the Vertx instanceflow - public static OAuth2Auth create(Vertx vertx)
vertx - the Vertx instancepublic static OAuth2Auth create(Vertx vertx, OAuth2ClientOptions config)
vertx - the Vertx instanceconfig - the configpublic String authorizeURL(JsonObject params)
params - @Deprecated public void getToken(JsonObject params, Handler<AsyncResult<AccessToken>> handler)
params - - JSON with the options, each flow requires different options.handler - - The handler returning the results.@Deprecated public Single<AccessToken> rxGetToken(JsonObject params)
params - - JSON with the options, each flow requires different options.@Deprecated public OAuth2Auth decodeToken(String token, Handler<AsyncResult<AccessToken>> handler)
AccessToken object. This is useful to handle bearer JWT tokens.token - the access token (base64 string)handler - A handler to receive the event@Deprecated public Single<AccessToken> rxDecodeToken(String token)
AccessToken object. This is useful to handle bearer JWT tokens.token - the access token (base64 string)@Deprecated public OAuth2Auth introspectToken(String token, Handler<AsyncResult<AccessToken>> handler)
token - the access token (base64 string)handler - A handler to receive the event@Deprecated public Single<AccessToken> rxIntrospectToken(String token)
token - the access token (base64 string)@Deprecated public OAuth2Auth introspectToken(String token, String tokenType, Handler<AsyncResult<AccessToken>> handler)
token - the access token (base64 string)tokenType - hint to the token type e.g.: `access_token`handler - A handler to receive the event@Deprecated public Single<AccessToken> rxIntrospectToken(String token, String tokenType)
token - the access token (base64 string)tokenType - hint to the token type e.g.: `access_token`@Deprecated public String getScopeSeparator()
@Deprecated public OAuth2FlowType getFlowType()
@Deprecated public OAuth2Auth loadJWK(Handler<AsyncResult<Void>> handler)
handler - @Deprecated public Completable rxLoadJWK()
@Deprecated public OAuth2Auth rbacHandler(OAuth2RBAC rbac)
public static OAuth2Auth newInstance(OAuth2Auth arg)
Copyright © 2020 Eclipse. All rights reserved.