public static final class UserPoolIdentityProviderGoogle.Builder
extends java.lang.Object
UserPoolIdentityProviderGoogle
.Modifier and Type | Method and Description |
---|---|
UserPoolIdentityProviderGoogle.Builder |
attributeMapping(AttributeMapping attributeMapping)
Mapping attributes from the identity provider to standard and custom attributes of the user pool.
|
UserPoolIdentityProviderGoogle |
build() |
UserPoolIdentityProviderGoogle.Builder |
clientId(java.lang.String clientId)
The client id recognized by Google APIs.
|
UserPoolIdentityProviderGoogle.Builder |
clientSecret(java.lang.String clientSecret)
The client secret to be accompanied with clientId for Google APIs to authenticate the client.
|
static UserPoolIdentityProviderGoogle.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
UserPoolIdentityProviderGoogle.Builder |
scopes(java.util.List<java.lang.String> scopes)
The list of google permissions to obtain for getting access to the google profile.
|
UserPoolIdentityProviderGoogle.Builder |
userPool(IUserPool userPool)
The user pool to which this construct provides identities.
|
public static UserPoolIdentityProviderGoogle.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.UserPoolIdentityProviderGoogle.Builder
.public UserPoolIdentityProviderGoogle.Builder userPool(IUserPool userPool)
userPool
- The user pool to which this construct provides identities. This parameter is required.this
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
public UserPoolIdentityProviderGoogle.Builder clientId(java.lang.String clientId)
clientId
- The client id recognized by Google APIs. This parameter is required.this
public UserPoolIdentityProviderGoogle.Builder clientSecret(java.lang.String clientSecret)
clientSecret
- The client secret to be accompanied with clientId for Google APIs to authenticate the client. This parameter is required.this
public UserPoolIdentityProviderGoogle.Builder scopes(java.util.List<java.lang.String> scopes)
Default: [ profile ]
scopes
- The list of google permissions to obtain for getting access to the google profile. This parameter is required.this
public UserPoolIdentityProviderGoogle build()