Class: Aws::CognitoIdentityProvider::Types::ChangePasswordRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::ChangePasswordRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
Represents the request to change a user password.
Constant Summary collapse
- SENSITIVE =
[:previous_password, :proposed_password, :access_token]
Instance Attribute Summary collapse
-
#access_token ⇒ String
A valid access token that Amazon Cognito issued to the user whose password you want to change.
-
#previous_password ⇒ String
The user’s previous password.
-
#proposed_password ⇒ String
A new password that you prompted the user to enter in your application.
Instance Attribute Details
#access_token ⇒ String
A valid access token that Amazon Cognito issued to the user whose password you want to change.
2916 2917 2918 2919 2920 2921 2922 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2916 class ChangePasswordRequest < Struct.new( :previous_password, :proposed_password, :access_token) SENSITIVE = [:previous_password, :proposed_password, :access_token] include Aws::Structure end |
#previous_password ⇒ String
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.
2916 2917 2918 2919 2920 2921 2922 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2916 class ChangePasswordRequest < Struct.new( :previous_password, :proposed_password, :access_token) SENSITIVE = [:previous_password, :proposed_password, :access_token] include Aws::Structure end |
#proposed_password ⇒ String
A new password that you prompted the user to enter in your application.
2916 2917 2918 2919 2920 2921 2922 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2916 class ChangePasswordRequest < Struct.new( :previous_password, :proposed_password, :access_token) SENSITIVE = [:previous_password, :proposed_password, :access_token] include Aws::Structure end |