interface IdentityPoolAuthenticationProviders
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.IdentityPool.IdentityPoolAuthenticationProviders |
![]() | software.amazon.awscdk.services.cognito.identitypool.IdentityPoolAuthenticationProviders |
![]() | aws_cdk.aws_cognito_identitypool.IdentityPoolAuthenticationProviders |
![]() | @aws-cdk/aws-cognito-identitypool » IdentityPoolAuthenticationProviders |
Authentication providers for using in identity pool.
Example
declare const openIdConnectProvider: iam.OpenIdConnectProvider;
new IdentityPool(this, 'myidentitypool', {
identityPoolName: 'myidentitypool',
authenticationProviders: {
google: {
clientId: '12345678012.apps.googleusercontent.com',
},
openIdConnectProviders: [openIdConnectProvider],
customProvider: 'my-custom-provider.example.com',
},
});
Properties
Name | Type | Description |
---|---|---|
amazon? | Identity | App Id for Amazon Identity Federation. |
apple? | Identity | Services Id for Apple Identity Federation. |
custom | string | The Developer Provider Name to associate with this Identity Pool. |
digits? | Identity | Consumer Key and Secret for Digits Identity Federation. |
facebook? | Identity | App Id for Facebook Identity Federation. |
google? | Identity | Client Id for Google Identity Federation. |
open | IOpen [] | The OpenIdConnect Provider associated with this Identity Pool. |
saml | ISaml [] | The Security Assertion Markup Language Provider associated with this Identity Pool. |
twitter? | Identity | Consumer Key and Secret for Twitter Identity Federation. |
user | IUser [] | The User Pool Authentication Providers associated with this Identity Pool. |
amazon?
Type:
Identity
(optional, default: No Amazon Authentication Provider used without OpenIdConnect or a User Pool)
App Id for Amazon Identity Federation.
apple?
Type:
Identity
(optional, default: No Apple Authentication Provider used without OpenIdConnect or a User Pool)
Services Id for Apple Identity Federation.
customProvider?
Type:
string
(optional, default: no Custom Provider)
The Developer Provider Name to associate with this Identity Pool.
digits?
Type:
Identity
(optional, default: No Digits Authentication Provider used without OpenIdConnect or a User Pool)
Consumer Key and Secret for Digits Identity Federation.
facebook?
Type:
Identity
(optional, default: No Facebook Authentication Provider used without OpenIdConnect or a User Pool)
App Id for Facebook Identity Federation.
google?
Type:
Identity
(optional, default: No Google Authentication Provider used without OpenIdConnect or a User Pool)
Client Id for Google Identity Federation.
openIdConnectProviders?
Type:
IOpen
[]
(optional, default: no OpenIdConnectProvider)
The OpenIdConnect Provider associated with this Identity Pool.
samlProviders?
Type:
ISaml
[]
(optional, default: no SamlProvider)
The Security Assertion Markup Language Provider associated with this Identity Pool.
twitter?
Type:
Identity
(optional, default: No Twitter Authentication Provider used without OpenIdConnect or a User Pool)
Consumer Key and Secret for Twitter Identity Federation.
userPools?
Type:
IUser
[]
(optional, default: no User Pools Associated)
The User Pool Authentication Providers associated with this Identity Pool.