You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::ConfirmForgotPasswordRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass ConfirmForgotPasswordRequest data as a hash:

{
  client_id: "ClientIdType", # required
  secret_hash: "SecretHashType",
  username: "UsernameType", # required
  confirmation_code: "ConfirmationCodeType", # required
  password: "PasswordType", # required
}

The request representing the confirmation for a password reset.

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

The app client ID of the app associated with the user pool.

Returns:

  • (String)


1580
1581
1582
1583
1584
1585
1586
1587
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1580

class ConfirmForgotPasswordRequest < Struct.new(
  :client_id,
  :secret_hash,
  :username,
  :confirmation_code,
  :password)
  include Aws::Structure
end

#confirmation_codeString

The confirmation code sent by a user's request to retrieve a forgotten password. For more information, see ForgotPassword

Returns:

  • (String)


1580
1581
1582
1583
1584
1585
1586
1587
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1580

class ConfirmForgotPasswordRequest < Struct.new(
  :client_id,
  :secret_hash,
  :username,
  :confirmation_code,
  :password)
  include Aws::Structure
end

#passwordString

The password sent by a user's request to retrieve a forgotten password.

Returns:

  • (String)


1580
1581
1582
1583
1584
1585
1586
1587
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1580

class ConfirmForgotPasswordRequest < Struct.new(
  :client_id,
  :secret_hash,
  :username,
  :confirmation_code,
  :password)
  include Aws::Structure
end

#secret_hashString

A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.

Returns:

  • (String)


1580
1581
1582
1583
1584
1585
1586
1587
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1580

class ConfirmForgotPasswordRequest < Struct.new(
  :client_id,
  :secret_hash,
  :username,
  :confirmation_code,
  :password)
  include Aws::Structure
end

#usernameString

The user name of the user for whom you want to enter a code to retrieve a forgotten password.

Returns:

  • (String)


1580
1581
1582
1583
1584
1585
1586
1587
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1580

class ConfirmForgotPasswordRequest < Struct.new(
  :client_id,
  :secret_hash,
  :username,
  :confirmation_code,
  :password)
  include Aws::Structure
end