@aws-cdk_aws-cognito-identitypool-alpha.UserPoolAuthenticationProvider

class UserPoolAuthenticationProvider 🔹

LanguageType name
.NETAmazon.CDK.AWS.Cognito.IdentityPool.Alpha.UserPoolAuthenticationProvider
Gogithub.com/aws/aws-cdk-go/awscdkcognitoidentitypoolalpha/v2#UserPoolAuthenticationProvider
Javasoftware.amazon.awscdk.services.cognito.identitypool.alpha.UserPoolAuthenticationProvider
Pythonaws_cdk.aws_cognito_identitypool_alpha.UserPoolAuthenticationProvider
TypeScript (source)@aws-cdk/aws-cognito-identitypool-alpha » UserPoolAuthenticationProvider

Implements IUserPoolAuthenticationProvider

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

  • props UserPoolAuthenticationProviderProps

Methods

NameDescription
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 IIdentityPool
  • _options UserPoolAuthenticationProviderBindOptions

Returns

  • UserPoolAuthenticationProviderBindConfig

The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.