cognitoidentityprovider_admin_disable_provider_for_user: Prevents the user from signing in with the specified external...

View source: R/cognitoidentityprovider_operations.R

cognitoidentityprovider_admin_disable_provider_for_userR Documentation

Prevents the user from signing in with the specified external (SAML or social) identity provider (IdP)

Description

Prevents the user from signing in with the specified external (SAML or social) identity provider (IdP). If the user that you want to deactivate is a Amazon Cognito user pools native username + password user, they can't use their password to sign in. If the user to deactivate is a linked external IdP user, any link between that user and an existing user is removed. When the external user signs in again, and the user is no longer attached to the previously linked DestinationUser, the user must create a new user account. See admin_link_provider_for_user.

See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_admin_disable_provider_for_user/ for full documentation.

Usage

cognitoidentityprovider_admin_disable_provider_for_user(UserPoolId, User)

Arguments

UserPoolId

[required] The user pool ID for the user pool.

User

[required] The user to be disabled.


paws.security.identity documentation built on Sept. 12, 2023, 1:10 a.m.