Class UserPoolIdentityProviderAppleProps
Properties to initialize UserPoolAppleIdentityProvider.
Inheritance
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public class UserPoolIdentityProviderAppleProps : Object, IUserPoolIdentityProviderAppleProps, IUserPoolIdentityProviderProps
Syntax (vb)
Public Class UserPoolIdentityProviderAppleProps
Inherits Object
Implements IUserPoolIdentityProviderAppleProps, IUserPoolIdentityProviderProps
Remarks
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 userPoolIdentityProviderAppleProps = new UserPoolIdentityProviderAppleProps {
ClientId = "clientId",
KeyId = "keyId",
PrivateKey = "privateKey",
TeamId = "teamId",
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
UserPoolIdentityProviderAppleProps() |
Properties
AttributeMapping | Mapping attributes from the identity provider to standard and custom attributes of the user pool. |
ClientId | The client id recognized by Apple APIs. |
KeyId | The keyId (of the same key, which content has to be later supplied as |
PrivateKey | The privateKey content for Apple APIs to authenticate the client. |
Scopes | The list of apple permissions to obtain for getting access to the apple profile. |
TeamId | The teamId for Apple APIs to authenticate the client. |
UserPool | The user pool to which this construct provides identities. |
Constructors
UserPoolIdentityProviderAppleProps()
public UserPoolIdentityProviderAppleProps()
Properties
AttributeMapping
Mapping attributes from the identity provider to standard and custom attributes of the user pool.
public IAttributeMapping AttributeMapping { get; set; }
Property Value
Remarks
Default: - no attribute mapping
ClientId
The client id recognized by Apple APIs.
public string ClientId { get; set; }
Property Value
System.String
Remarks
KeyId
The keyId (of the same key, which content has to be later supplied as privateKey
) for Apple APIs to authenticate the client.
public string KeyId { get; set; }
Property Value
System.String
PrivateKey
The privateKey content for Apple APIs to authenticate the client.
public string PrivateKey { get; set; }
Property Value
System.String
Scopes
The list of apple permissions to obtain for getting access to the apple profile.
public string[] Scopes { get; set; }
Property Value
System.String[]
Remarks
Default: [ name ]
See: https://developer.apple.com/documentation/sign_in_with_apple/clientconfigi/3230955-scope
TeamId
The teamId for Apple APIs to authenticate the client.
public string TeamId { get; set; }
Property Value
System.String
UserPool
The user pool to which this construct provides identities.
public IUserPool UserPool { get; set; }
Property Value