Class UserPoolClientIdentityProvider
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.UserPoolClientIdentityProvider
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.067Z")
@Stability(Stable)
public class UserPoolClientIdentityProvider
extends software.amazon.jsii.JsiiObject
Identity providers supported by the UserPoolClient.
Example:
UserPool pool = new UserPool(this, "Pool");
pool.addClient("app-client", UserPoolClientOptions.builder()
// ...
.supportedIdentityProviders(List.of(UserPoolClientIdentityProvider.AMAZON, UserPoolClientIdentityProvider.COGNITO))
.build());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UserPoolClientIdentityProviderAllow users to sign in using 'Login With Amazon'.static final UserPoolClientIdentityProviderAllow users to sign in using 'Sign In With Apple'.static final UserPoolClientIdentityProviderAllow users to sign in directly as a user of the User Pool.static final UserPoolClientIdentityProviderAllow users to sign in using 'Facebook Login'.static final UserPoolClientIdentityProviderAllow users to sign in using 'Google Login'. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUserPoolClientIdentityProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedUserPoolClientIdentityProvider(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionSpecify a provider not yet supported by the CDK.getName()The name of the identity provider as recognized by CloudFormation propertySupportedIdentityProviders.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
AMAZON
Allow users to sign in using 'Login With Amazon'.A
UserPoolIdentityProviderAmazonmust be attached to the user pool. -
APPLE
Allow users to sign in using 'Sign In With Apple'.A
UserPoolIdentityProviderApplemust be attached to the user pool. -
COGNITO
Allow users to sign in directly as a user of the User Pool. -
FACEBOOK
Allow users to sign in using 'Facebook Login'.A
UserPoolIdentityProviderFacebookmust be attached to the user pool. -
GOOGLE
Allow users to sign in using 'Google Login'.A
UserPoolIdentityProviderGooglemust be attached to the user pool.
-
-
Constructor Details
-
UserPoolClientIdentityProvider
protected UserPoolClientIdentityProvider(software.amazon.jsii.JsiiObjectRef objRef) -
UserPoolClientIdentityProvider
protected UserPoolClientIdentityProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
custom
@Stability(Stable) @NotNull public static UserPoolClientIdentityProvider custom(@NotNull String name) Specify a provider not yet supported by the CDK.- Parameters:
name- name of the identity provider as recognized by CloudFormation propertySupportedIdentityProviders. This parameter is required.
-
getName
The name of the identity provider as recognized by CloudFormation propertySupportedIdentityProviders.
-