public class AzureADAuth extends OpenIDConnectAuth
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<AzureADAuth> |
__TYPE_ARG |
Constructor and Description |
---|
AzureADAuth(AzureADAuth delegate) |
AzureADAuth(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret,
String guid)
Create a OAuth2Auth provider for Microsoft Azure Active Directory
|
static OAuth2Auth |
create(Vertx vertx,
String clientId,
String clientSecret,
String guid,
HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Microsoft Azure Active Directory
|
static void |
discover(Vertx vertx,
OAuth2ClientOptions config,
Handler<AsyncResult<OAuth2Auth>> handler)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
static Observable<OAuth2Auth> |
discoverObservable(Vertx vertx,
OAuth2ClientOptions config)
Deprecated.
|
boolean |
equals(Object o) |
AzureADAuth |
getDelegate() |
int |
hashCode() |
static AzureADAuth |
newInstance(AzureADAuth arg) |
static Single<OAuth2Auth> |
rxDiscover(Vertx vertx,
OAuth2ClientOptions config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
String |
toString() |
newInstance
public static final io.vertx.lang.rx.TypeArg<AzureADAuth> __TYPE_ARG
public AzureADAuth(AzureADAuth delegate)
public AzureADAuth(Object delegate)
public String toString()
toString
in class OpenIDConnectAuth
public boolean equals(Object o)
equals
in class OpenIDConnectAuth
public int hashCode()
hashCode
in class OpenIDConnectAuth
public AzureADAuth getDelegate()
getDelegate
in class OpenIDConnectAuth
public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, String guid)
vertx
- clientId
- the client id given to you by AzureclientSecret
- the client secret given to you by Azureguid
- the guid of your application given to you by Azurepublic static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, String guid, HttpClientOptions httpClientOptions)
vertx
- clientId
- the client id given to you by AzureclientSecret
- the client secret given to you by Azureguid
- the guid of your application given to you by AzurehttpClientOptions
- custom http client optionspublic static void discover(Vertx vertx, OAuth2ClientOptions config, Handler<AsyncResult<OAuth2Auth>> handler)
If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded into the OAuth provider so tokens can be decoded.
vertx
- the vertx instanceconfig
- the initial confighandler
- the instantiated Oauth2 provider instance handler@Deprecated public static Observable<OAuth2Auth> discoverObservable(Vertx vertx, OAuth2ClientOptions config)
rxDiscover(io.vertx.rxjava.core.Vertx, io.vertx.ext.auth.oauth2.OAuth2ClientOptions)
insteadIf the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded into the OAuth provider so tokens can be decoded.
vertx
- the vertx instanceconfig
- the initial configpublic static Single<OAuth2Auth> rxDiscover(Vertx vertx, OAuth2ClientOptions config)
If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded into the OAuth provider so tokens can be decoded.
vertx
- the vertx instanceconfig
- the initial configpublic static AzureADAuth newInstance(AzureADAuth arg)
Copyright © 2023 Eclipse. All rights reserved.