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,
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
User |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
User |
Used by jsii to construct an instance of this class from DeputyProps |
User |
Properties
Provider |
The primary identifier of this identity provider. |
Methods
Configure |
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. By Ref Value 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. Deputy Base. Deputy Props The deputy props
UserPoolIdentityProviderFacebook(Construct, String, IUserPoolIdentityProviderFacebookProps)
public UserPoolIdentityProviderFacebook(Construct scope, string id, IUserPoolIdentityProviderFacebookProps props)
Parameters
- scope Constructs.
Construct - id System.
String - props IUser
Pool Identity Provider Facebook Props
Properties
ProviderName
The primary identifier of this identity provider.
public virtual string ProviderName { get; }
Property Value
System.
Methods
ConfigureAttributeMapping()
protected virtual object ConfigureAttributeMapping()
Returns
System.