UserPoolAuthenticationProvider
- class aws_cdk.aws_cognito_identitypool_alpha.UserPoolAuthenticationProvider(*, user_pool, disable_server_side_token_check=None, user_pool_client=None)
Bases:
object
(experimental) Defines a User Pool Authentication Provider.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# identity_pool: IdentityPool user_pool = cognito.UserPool(self, "Pool") identity_pool.add_user_pool_authentication(UserPoolAuthenticationProvider( user_pool=user_pool, disable_server_side_token_check=True ))
- Parameters:
user_pool (
IUserPool
) – (experimental) The User Pool of the Associated Identity Providers.disable_server_side_token_check (
Optional
[bool
]) – (experimental) Setting this to true turns off identity pool checks for this user pool to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user. Default: falseuser_pool_client (
Optional
[IUserPoolClient
]) – (experimental) The User Pool Client for the provided User Pool. Default: - A default user pool client will be added to User Pool
- Stability:
experimental
Methods
- bind(scope, identity_pool)
(experimental) The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
- Parameters:
scope (
Construct
) –identity_pool (
IIdentityPool
) –
- Stability:
experimental
- Return type: