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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/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, for example ["PASSWORD", "WEB_AUTHN"].

Returns:

  • (Array<String>)


6305
6306
6307
6308
6309
6310
6311
6312
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6305

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 challenge method that Amazon Cognito returns to the user in response to sign-in requests. Users can prefer SMS message, email message, or TOTP MFA.

Returns:

  • (String)


6305
6306
6307
6308
6309
6310
6311
6312
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6305

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>)


6305
6306
6307
6308
6309
6310
6311
6312
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6305

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

#usernameString

The name of the user who is eligible for the authentication factors in the response.

Returns:

  • (String)


6305
6306
6307
6308
6309
6310
6311
6312
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 6305

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