class UserPoolAuthenticationProvider
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.IdentityPool.Alpha.UserPoolAuthenticationProvider |
![]() | github.com/aws/aws-cdk-go/awscdkcognitoidentitypoolalpha/v2#UserPoolAuthenticationProvider |
![]() | software.amazon.awscdk.services.cognito.identitypool.alpha.UserPoolAuthenticationProvider |
![]() | aws_cdk.aws_cognito_identitypool_alpha.UserPoolAuthenticationProvider |
![]() | @aws-cdk/aws-cognito-identitypool-alpha » UserPoolAuthenticationProvider |
Implements
IUser
Defines a User Pool Authentication Provider.
Example
declare const identityPool: IdentityPool;
const userPool = new cognito.UserPool(this, 'Pool');
identityPool.addUserPoolAuthentication(new UserPoolAuthenticationProvider({
userPool,
disableServerSideTokenCheck: true,
}));
Initializer
new UserPoolAuthenticationProvider(props: UserPoolAuthenticationProviderProps)
Parameters
Methods
Name | Description |
---|---|
bind(scope, identityPool, _options?) | The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool. |
bind(scope, identityPool, _options?)
public bind(scope: Construct, identityPool: IIdentityPool, _options?: UserPoolAuthenticationProviderBindOptions): UserPoolAuthenticationProviderBindConfig
Parameters
- scope
Construct
- identityPool
IIdentity
Pool - _options
User
Pool Authentication Provider Bind Options
Returns
The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.