Class UserPoolIdentityProviderGoogle
Represents a identity provider that integrates with 'Google'.
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public class UserPoolIdentityProviderGoogle : Resource, IUserPoolIdentityProvider, IResource, IConstruct, IDependable
Syntax (vb)
Public Class UserPoolIdentityProviderGoogle
Inherits Resource
Implements IUserPoolIdentityProvider, IResource, IConstruct, IDependable
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
ProviderAttribute providerAttribute;
UserPool userPool;
var userPoolIdentityProviderGoogle = new UserPoolIdentityProviderGoogle(this, "MyUserPoolIdentityProviderGoogle", new UserPoolIdentityProviderGoogleProps {
ClientId = "clientId",
ClientSecret = "clientSecret",
UserPool = userPool,
// the properties below are optional
AttributeMapping = new AttributeMapping {
Address = providerAttribute,
Birthdate = providerAttribute,
Custom = new Dictionary<string, ProviderAttribute> {
{ "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
},
Scopes = new [] { "scopes" }
});
Synopsis
Constructors
UserPoolIdentityProviderGoogle(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
UserPoolIdentityProviderGoogle(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
UserPoolIdentityProviderGoogle(Construct, String, IUserPoolIdentityProviderGoogleProps) |
Properties
ProviderName | The primary identifier of this identity provider. |
Methods
ConfigureAttributeMapping() |
Constructors
UserPoolIdentityProviderGoogle(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected UserPoolIdentityProviderGoogle(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
UserPoolIdentityProviderGoogle(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected UserPoolIdentityProviderGoogle(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
UserPoolIdentityProviderGoogle(Construct, String, IUserPoolIdentityProviderGoogleProps)
public UserPoolIdentityProviderGoogle(Construct scope, string id, IUserPoolIdentityProviderGoogleProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IUserPoolIdentityProviderGoogleProps
Properties
ProviderName
The primary identifier of this identity provider.
public virtual string ProviderName { get; }
Property Value
System.String
Methods
ConfigureAttributeMapping()
protected virtual object ConfigureAttributeMapping()
Returns
System.Object
Implements
Constructs.IConstruct