@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.685Z") @Stability(value=Stable) 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(String name)
Specify a provider not yet supported by the CDK.
|
String |
getName()
The name of the identity provider as recognized by CloudFormation property `SupportedIdentityProviders`.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final UserPoolClientIdentityProvider AMAZON
A UserPoolIdentityProviderAmazon must be attached to the user pool.
@Stability(value=Stable) public static final UserPoolClientIdentityProvider APPLE
A UserPoolIdentityProviderApple must be attached to the user pool.
@Stability(value=Stable) public static final UserPoolClientIdentityProvider COGNITO
@Stability(value=Stable) public static final UserPoolClientIdentityProvider FACEBOOK
A UserPoolIdentityProviderFacebook must be attached to the user pool.
@Stability(value=Stable) 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)
@Stability(value=Stable) @NotNull public static UserPoolClientIdentityProvider custom(@NotNull String name)
name - name of the identity provider as recognized by CloudFormation property `SupportedIdentityProviders`. This parameter is required.@Stability(value=Stable) @NotNull public String getName()
Copyright © 2022. All rights reserved.