public class AmazonCognitoAuth extends OpenIDConnectAuth
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<AmazonCognitoAuth> |
__TYPE_ARG |
| Constructor and Description |
|---|
AmazonCognitoAuth(io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth delegate) |
AmazonCognitoAuth(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
static OAuth2Auth |
create(Vertx vertx,
String region,
String clientId,
String clientSecret,
String guid)
Create a OAuth2Auth provider for Amazon Cognito
|
static OAuth2Auth |
create(Vertx vertx,
String region,
String clientId,
String clientSecret,
String userPoolId,
io.vertx.core.http.HttpClientOptions httpClientOptions)
Create a OAuth2Auth provider for Amazon Cognito
|
static io.reactivex.rxjava3.core.Single<OAuth2Auth> |
discover(Vertx vertx,
io.vertx.ext.auth.oauth2.OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
boolean |
equals(Object o) |
io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth |
getDelegate() |
int |
hashCode() |
static AmazonCognitoAuth |
newInstance(io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth arg) |
static io.reactivex.rxjava3.core.Single<OAuth2Auth> |
rxDiscover(Vertx vertx,
io.vertx.ext.auth.oauth2.OAuth2Options config)
Create a OAuth2Auth provider for OpenID Connect Discovery.
|
String |
toString() |
newInstancepublic static final TypeArg<AmazonCognitoAuth> __TYPE_ARG
public AmazonCognitoAuth(io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth delegate)
public AmazonCognitoAuth(Object delegate)
public String toString()
toString in class OpenIDConnectAuthpublic boolean equals(Object o)
equals in class OpenIDConnectAuthpublic int hashCode()
hashCode in class OpenIDConnectAuthpublic io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth getDelegate()
getDelegate in class OpenIDConnectAuthpublic static OAuth2Auth create(Vertx vertx, String region, String clientId, String clientSecret, String guid)
vertx - region - the region to useclientId - the client id given to you by Amazon CognitoclientSecret - the client secret given to you by Amazon Cognitoguid - the guid of your application given to you by Amazon Cognitopublic static OAuth2Auth create(Vertx vertx, String region, String clientId, String clientSecret, String userPoolId, io.vertx.core.http.HttpClientOptions httpClientOptions)
vertx - region - the region to useclientId - the client id given to you by Amazon CognitoclientSecret - the client secret given to you by Amazon CognitouserPoolId - the userPoolId of your application given to you by Amazon CognitohttpClientOptions - custom http client optionspublic static io.reactivex.rxjava3.core.Single<OAuth2Auth> discover(Vertx vertx, io.vertx.ext.auth.oauth2.OAuth2Options 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 io.reactivex.rxjava3.core.Single<OAuth2Auth> rxDiscover(Vertx vertx, io.vertx.ext.auth.oauth2.OAuth2Options 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 AmazonCognitoAuth newInstance(io.vertx.ext.auth.oauth2.providers.AmazonCognitoAuth arg)
Copyright © 2022 Eclipse. All rights reserved.