---
descriptions:
  user_management_authentication_challenge:
    self: >-
      The [authentication
      challenge](/reference/authkit/mfa/authentication-challenge) object.
    object: Distinguishes the authentication challenge object.
    id: The unique ID of the authentication challenge.
    created_at: The timestamp when the challenge was created.
    updated_at: The timestamp when the challenge was last updated.
    expires_at: >-
      The timestamp when the challenge will expire. Does not apply to TOTP
      factors.
    authentication_factor_id: The unique ID of the authentication factor the challenge belongs to.
reference:
  curl:
    - url: /reference/authkit/mfa/authentication-challenge
      key: authentication_challenge
      id: authentication_challenge
      title: authentication_challenge
      properties:
        - key: object
          type: '"authentication_challenge"'
          description: (user_management_authentication_challenge.object)
        - key: id
          type: string
          description: (user_management_authentication_challenge.id)
        - key: created_at
          type: string
          description: (user_management_authentication_challenge.created_at)
        - key: updated_at
          type: string
          description: (user_management_authentication_challenge.updated_at)
        - key: expires_at
          type: string
          description: (user_management_authentication_challenge.expires_at)
        - key: authentication_factor_id
          type: string
          description: (user_management_authentication_challenge.authentication_factor_id)
  go:
    - url: /reference/authkit/mfa/authentication-challenge
      key: Challenge
      id: authentication_challenge
      title: mfa.Challenge
      properties:
        - key: ID
          type: string
          description: (user_management_authentication_challenge.id)
        - key: Object
          type: '"authentication_challenge"'
          description: (user_management_authentication_challenge.object)
        - key: CreatedAt
          type: string
          description: (user_management_authentication_challenge.created_at)
        - key: UpdatedAt
          type: string
          description: (user_management_authentication_challenge.updated_at)
        - key: ExpiresAt
          type: string
          description: (user_management_authentication_challenge.expires_at)
        - key: FactorId
          type: string
          description: (user_management_authentication_challenge.authentication_factor_id)
  ruby:
    - url: /reference/authkit/mfa/authentication-challenge
      key: Challenge
      id: authentication_challenge
      title: class Challenge
      properties:
        - key: object
          type: '"authentication_challenge"'
          description: (user_management_authentication_challenge.object)
        - key: id
          type: String
          description: (user_management_authentication_challenge.id)
        - key: created_at
          type: String
          description: (user_management_authentication_challenge.created_at)
        - key: updated_at
          type: String
          description: (user_management_authentication_challenge.updated_at)
        - key: expires_at
          type: String
          description: (user_management_authentication_challenge.expires_at)
        - key: authentication_factor_id
          type: String
          description: (user_management_authentication_challenge.authentication_factor_id)
  python:
    - url: /reference/authkit/mfa/authentication-challenge
      key: AuthenticationChallenge
      id: authentication_challenge
      title: AuthenticationChallenge
      properties:
        - key: object
          type: '"authentication_challenge"'
          description: (user_management_authentication_challenge.object)
        - key: id
          type: str
          description: (user_management_authentication_challenge.id)
        - key: created_at
          type: str
          description: (user_management_authentication_challenge.created_at)
        - key: updated_at
          type: str
          description: (user_management_authentication_challenge.updated_at)
        - key: expires_at
          type: str
          description: (user_management_authentication_challenge.expires_at)
        - key: authentication_factor_id
          type: str
          description: (user_management_authentication_challenge.authentication_factor_id)
  js:
    - url: /reference/authkit/mfa/authentication-challenge
      key: Challenge
      id: authentication_challenge
      title: interface Challenge
      properties:
        - key: object
          type: '"authentication_challenge"'
          description: (user_management_authentication_challenge.object)
        - key: id
          type: string
          description: (user_management_authentication_challenge.id)
        - key: createdAt
          type: string
          description: (user_management_authentication_challenge.created_at)
        - key: updatedAt
          type: string
          description: (user_management_authentication_challenge.updated_at)
        - key: expiresAt
          type: string
          description: (user_management_authentication_challenge.expires_at)
        - key: authenticationFactorId
          type: string
          description: (user_management_authentication_challenge.authentication_factor_id)
  php:
    - url: /reference/authkit/mfa/authentication-challenge
      key: AuthenticationChallenge
      id: authentication_challenge
      title: WorkOS\Resource\AuthenticationChallenge
      properties:
        - key: object
          type: '"authentication_challenge"'
          description: (user_management_authentication_challenge.object)
        - key: id
          type: string
          description: (user_management_authentication_challenge.id)
        - key: created_at
          type: string
          description: (user_management_authentication_challenge.created_at)
        - key: updated_at
          type: string
          description: (user_management_authentication_challenge.updated_at)
        - key: expires_at
          type: string
          description: (user_management_authentication_challenge.expires_at)
        - key: authentication_factor_id
          type: string
          description: (user_management_authentication_challenge.authentication_factor_id)
  java:
    - url: /reference/authkit/mfa/authentication-challenge
      key: AuthenticationChallenge
      id: authentication_challenge
      title: class AuthenticationChallenge
      properties:
        - key: id
          type: String
          description: (user_management_authentication_challenge.id)
        - key: createdAt
          type: String
          description: (user_management_authentication_challenge.created_at)
        - key: updatedAt
          type: String
          description: (user_management_authentication_challenge.updated_at)
        - key: expiresAt
          type: String
          description: (user_management_authentication_challenge.expires_at)
        - key: authenticationFactorId
          type: String
          description: (user_management_authentication_challenge.authentication_factor_id)
originalPath: >-
  .tmp-workos-clone/packages/docs/content/reference/authkit/mfa/authentication-challenge.mdx
---

## Authentication challenge

Represents a challenge of an authentication factor.

<CodeBlock
  title="Authentication challenge"
  file="authentication-challenge"
  referenceId="authentication_challenge"
/>
