public interface AzureADAuth extends OpenIDConnectAuth
OAuth2Auth for Azure AD.| 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 OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, String guid)
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 Azurestatic OAuth2Auth create(Vertx vertx, String clientId, String clientSecret, String guid, HttpClientOptions httpClientOptions)
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 optionsstatic 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.
discover in interface OpenIDConnectAuthvertx - the vertx instanceconfig - the initial confighandler - the instantiated Oauth2 provider instance handlerCopyright © 2021 Eclipse. All rights reserved.