Learn R Programming

paws.security.identity (version 0.8.0)

cognitoidentityprovider_change_password: Changes the password for a specified user in a user pool

Description

Changes the password for a specified user in a user pool.

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

Usage

cognitoidentityprovider_change_password(
  PreviousPassword = NULL,
  ProposedPassword,
  AccessToken
)

Arguments

PreviousPassword

The user's previous password. Required if the user has a password. If the user has no password and only signs in with passwordless authentication options, you can omit this parameter.

ProposedPassword

[required] A new password that you prompted the user to enter in your application.

AccessToken

[required] A valid access token that Amazon Cognito issued to the user whose password you want to change.