{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cognito/json-schema/amazon-cognito-get-user-auth-factors-response-schema.json",
  "title": "GetUserAuthFactorsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cognito-operations-api-openapi.yml#/components/schemas/GetUserAuthFactorsResponse",
  "type": "object",
  "properties": {
    "Username": {
      "type": "string",
      "description": "The name of the user who is eligible for the authentication factors in the response."
    },
    "PreferredMfaSetting": {
      "type": "string",
      "description": "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."
    },
    "UserMFASettingList": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The MFA options that are activated for the user. The possible values in this list are SMS_MFA, EMAIL_OTP, and SOFTWARE_TOKEN_MFA."
    },
    "ConfiguredUserAuthFactors": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "PASSWORD",
          "EMAIL_OTP",
          "SMS_OTP",
          "WEB_AUTHN",
          "SOFTWARE_TOKEN"
        ]
      },
      "description": "The authentication types that are available to the user with USER_AUTH sign-in, for example [\"PASSWORD\", \"WEB_AUTHN\"]. PASSWORD can only be used as a first authentication factor. SOFTWARE_TOKEN can only be used as an MFA factor. EMAIL_OTP, SMS_OTP, and WEB_AUTHN can be used as either a first authentication factor or an MFA factor. WEB_AUTHN is available as an MFA factor only when passkey MFA is enabled at the user pool level."
    }
  },
  "required": [
    "Username"
  ]
}