Interface UserPoolIdentityProviderGoogleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,UserPoolIdentityProviderProps
- All Known Implementing Classes:
UserPoolIdentityProviderGoogleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.088Z")
@Stability(Stable)
public interface UserPoolIdentityProviderGoogleProps
extends software.amazon.jsii.JsiiSerializable, UserPoolIdentityProviderProps
Properties to initialize UserPoolGoogleIdentityProvider.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cognito.*; ProviderAttribute providerAttribute; UserPool userPool; UserPoolIdentityProviderGoogleProps userPoolIdentityProviderGoogleProps = UserPoolIdentityProviderGoogleProps.builder() .clientId("clientId") .clientSecret("clientSecret") .userPool(userPool) // the properties below are optional .attributeMapping(AttributeMapping.builder() .address(providerAttribute) .birthdate(providerAttribute) .custom(Map.of( "customKey", providerAttribute)) .email(providerAttribute) .familyName(providerAttribute) .fullname(providerAttribute) .gender(providerAttribute) .givenName(providerAttribute) .lastUpdateTime(providerAttribute) .locale(providerAttribute) .middleName(providerAttribute) .nickname(providerAttribute) .phoneNumber(providerAttribute) .preferredUsername(providerAttribute) .profilePage(providerAttribute) .profilePicture(providerAttribute) .timezone(providerAttribute) .website(providerAttribute) .build()) .scopes(List.of("scopes")) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forUserPoolIdentityProviderGoogleProps
static final class
An implementation forUserPoolIdentityProviderGoogleProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The client id recognized by Google APIs.The client secret to be accompanied with clientId for Google APIs to authenticate the client.The list of google permissions to obtain for getting access to the google profile.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.cognito.UserPoolIdentityProviderProps
getAttributeMapping, getUserPool
-
Method Details
-
getClientId
The client id recognized by Google APIs.- See Also:
-
getClientSecret
The client secret to be accompanied with clientId for Google APIs to authenticate the client.- See Also:
-
getScopes
The list of google permissions to obtain for getting access to the google profile.Default: [ profile ]
- See Also:
-
builder
-