@Stability(value=Experimental) public static final class UserPoolIdentityProviderGoogle.Builder extends Object implements software.amazon.jsii.Builder<UserPoolIdentityProviderGoogle>
UserPoolIdentityProviderGoogle.| Modifier and Type | Method and Description |
|---|---|
UserPoolIdentityProviderGoogle.Builder |
attributeMapping(AttributeMapping attributeMapping)
(experimental) Mapping attributes from the identity provider to standard and custom attributes of the user pool.
|
UserPoolIdentityProviderGoogle |
build() |
UserPoolIdentityProviderGoogle.Builder |
clientId(String clientId)
(experimental) The client id recognized by Google APIs.
|
UserPoolIdentityProviderGoogle.Builder |
clientSecret(String clientSecret)
(experimental) The client secret to be accompanied with clientId for Google APIs to authenticate the client.
|
static UserPoolIdentityProviderGoogle.Builder |
create(software.constructs.Construct scope,
String id) |
UserPoolIdentityProviderGoogle.Builder |
scopes(List<String> scopes)
(experimental) The list of google permissions to obtain for getting access to the google profile.
|
UserPoolIdentityProviderGoogle.Builder |
userPool(IUserPool userPool)
(experimental) The user pool to which this construct provides identities.
|
@Stability(value=Experimental) public static UserPoolIdentityProviderGoogle.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.UserPoolIdentityProviderGoogle.Builder.@Stability(value=Experimental) public UserPoolIdentityProviderGoogle.Builder userPool(IUserPool userPool)
userPool - The user pool to which this construct provides identities. This parameter is required.this@Stability(value=Experimental) public UserPoolIdentityProviderGoogle.Builder attributeMapping(AttributeMapping attributeMapping)
Default: - no attribute mapping
attributeMapping - Mapping attributes from the identity provider to standard and custom attributes of the user pool. This parameter is required.this@Stability(value=Experimental) public UserPoolIdentityProviderGoogle.Builder clientId(String clientId)
clientId - The client id recognized by Google APIs. This parameter is required.thishttps://developers.google.com/identity/sign-in/web/sign-in#specify_your_apps_client_id@Stability(value=Experimental) public UserPoolIdentityProviderGoogle.Builder clientSecret(String clientSecret)
clientSecret - The client secret to be accompanied with clientId for Google APIs to authenticate the client. This parameter is required.thishttps://developers.google.com/identity/sign-in/web/sign-in@Stability(value=Experimental) public UserPoolIdentityProviderGoogle.Builder scopes(List<String> scopes)
Default: [ profile ]
scopes - The list of google permissions to obtain for getting access to the google profile. This parameter is required.thishttps://developers.google.com/identity/sign-in/web/sign-in@Stability(value=Experimental) public UserPoolIdentityProviderGoogle build()
build in interface software.amazon.jsii.Builder<UserPoolIdentityProviderGoogle>Copyright © 2021. All rights reserved.