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, IConstruct, IDependable
Syntax (vb)
Public Class UserPoolIdentityProviderFacebook 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 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,
EmailVerified = 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(Construct, string, IUserPoolIdentityProviderFacebookProps) | Represents an identity provider that integrates with Facebook Login. |
Properties
PROPERTY_INJECTION_ID | Uniquely identifies this class. |
ProviderName | The primary identifier of this identity provider. |
Methods
ConfigureAttributeMapping() | Represents an identity provider that integrates with Facebook Login. |
Constructors
UserPoolIdentityProviderFacebook(Construct, string, IUserPoolIdentityProviderFacebookProps)
Represents an identity provider that integrates with Facebook Login.
public UserPoolIdentityProviderFacebook(Construct scope, string id, IUserPoolIdentityProviderFacebookProps props)
Parameters
- scope Construct
- id string
- props IUserPoolIdentityProviderFacebookProps
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,
EmailVerified = 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" }
});
Properties
PROPERTY_INJECTION_ID
Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: fixture=_generated
ProviderName
The primary identifier of this identity provider.
public virtual string ProviderName { get; }
Property Value
Remarks
Resource: AWS::Cognito::UserPoolIdentityProvider
ExampleMetadata: fixture=_generated
Methods
ConfigureAttributeMapping()
Represents an identity provider that integrates with Facebook Login.
protected virtual object ConfigureAttributeMapping()
Returns
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,
EmailVerified = 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" }
});