Class: Aws::CognitoIdentityProvider::Types::GetUserAuthFactorsResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:username]

Instance Attribute Summary collapse

Instance Attribute Details

#configured_user_auth_factorsArray<String>

The authentication types that are available to the user with ‘USER_AUTH` sign-in.

Returns:

  • (Array<String>)


6424
6425
6426
6427
6428
6429
6430
6431
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6424

class GetUserAuthFactorsResponse < Struct.new(
  :username,
  :preferred_mfa_setting,
  :user_mfa_setting_list,
  :configured_user_auth_factors)
  SENSITIVE = [:username]
  include Aws::Structure
end

#preferred_mfa_settingString

The user’s preferred MFA setting.

Returns:

  • (String)


6424
6425
6426
6427
6428
6429
6430
6431
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6424

class GetUserAuthFactorsResponse < Struct.new(
  :username,
  :preferred_mfa_setting,
  :user_mfa_setting_list,
  :configured_user_auth_factors)
  SENSITIVE = [:username]
  include Aws::Structure
end

#user_mfa_setting_listArray<String>

The MFA options that are activated for the user. The possible values in this list are ‘SMS_MFA`, `EMAIL_OTP`, and `SOFTWARE_TOKEN_MFA`.

Returns:

  • (Array<String>)


6424
6425
6426
6427
6428
6429
6430
6431
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6424

class GetUserAuthFactorsResponse < Struct.new(
  :username,
  :preferred_mfa_setting,
  :user_mfa_setting_list,
  :configured_user_auth_factors)
  SENSITIVE = [:username]
  include Aws::Structure
end

#usernameString

The username of the currently sign-in user.

Returns:

  • (String)


6424
6425
6426
6427
6428
6429
6430
6431
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6424

class GetUserAuthFactorsResponse < Struct.new(
  :username,
  :preferred_mfa_setting,
  :user_mfa_setting_list,
  :configured_user_auth_factors)
  SENSITIVE = [:username]
  include Aws::Structure
end