@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:46.889Z")
public class UserPoolClientIdentityProvider
extends software.amazon.jsii.JsiiObject
Example:
UserPool pool = new UserPool(this, "Pool"); pool.addClient("app-client", UserPoolClientOptions.builder() // ... .supportedIdentityProviders(List.of(UserPoolClientIdentityProvider.AMAZON, UserPoolClientIdentityProvider.COGNITO)) .build());
Modifier and Type | Field and Description |
---|---|
static UserPoolClientIdentityProvider |
AMAZON
Allow users to sign in using 'Login With Amazon'.
|
static UserPoolClientIdentityProvider |
APPLE
Allow users to sign in using 'Sign In With Apple'.
|
static UserPoolClientIdentityProvider |
COGNITO
Allow users to sign in directly as a user of the User Pool.
|
static UserPoolClientIdentityProvider |
FACEBOOK
Allow users to sign in using 'Facebook Login'.
|
static UserPoolClientIdentityProvider |
GOOGLE
Allow users to sign in using 'Google Login'.
|
Modifier | Constructor and Description |
---|---|
protected |
UserPoolClientIdentityProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
UserPoolClientIdentityProvider(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
static UserPoolClientIdentityProvider |
custom(java.lang.String name)
Specify a provider not yet supported by the CDK.
|
java.lang.String |
getName()
The name of the identity provider as recognized by CloudFormation property `SupportedIdentityProviders`.
|
public static final UserPoolClientIdentityProvider AMAZON
A UserPoolIdentityProviderAmazon
must be attached to the user pool.
public static final UserPoolClientIdentityProvider APPLE
A UserPoolIdentityProviderApple
must be attached to the user pool.
public static final UserPoolClientIdentityProvider COGNITO
public static final UserPoolClientIdentityProvider FACEBOOK
A UserPoolIdentityProviderFacebook
must be attached to the user pool.
public static final UserPoolClientIdentityProvider GOOGLE
A UserPoolIdentityProviderGoogle
must be attached to the user pool.
protected UserPoolClientIdentityProvider(software.amazon.jsii.JsiiObjectRef objRef)
protected UserPoolClientIdentityProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public static UserPoolClientIdentityProvider custom(java.lang.String name)
name
- name of the identity provider as recognized by CloudFormation property `SupportedIdentityProviders`. This parameter is required.public java.lang.String getName()