Class UserPoolIdentityProviderFacebook
Represents an identity provider that integrates with Facebook Login.
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class UserPoolIdentityProviderFacebook : Resource, IUserPoolIdentityProvider, IResource
Syntax (vb)
Public Class UserPoolIdentityProviderFacebook
Inherits Resource
Implements IUserPoolIdentityProvider, IResource
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 userPoolIdentityProviderFacebook = new UserPoolIdentityProviderFacebook(this, "MyUserPoolIdentityProviderFacebook", new UserPoolIdentityProviderFacebookProps {
ClientId = "clientId",
ClientSecret = "clientSecret",
UserPool = userPool,
// the properties below are optional
ApiVersion = "apiVersion",
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
UserPoolIdentityProviderFacebook(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
UserPoolIdentityProviderFacebook(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
UserPoolIdentityProviderFacebook(Construct, String, IUserPoolIdentityProviderFacebookProps) |
Properties
ProviderName | The primary identifier of this identity provider. |
Methods
ConfigureAttributeMapping() |
Constructors
UserPoolIdentityProviderFacebook(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected UserPoolIdentityProviderFacebook(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
UserPoolIdentityProviderFacebook(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected UserPoolIdentityProviderFacebook(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
UserPoolIdentityProviderFacebook(Construct, String, IUserPoolIdentityProviderFacebookProps)
public UserPoolIdentityProviderFacebook(Construct scope, string id, IUserPoolIdentityProviderFacebookProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IUserPoolIdentityProviderFacebookProps
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
Constructs.IDependable