1. Docs
  2. API Reference
  3. AuthTokenResponseDto

AuthTokenResponseDto

Example

JSON
{
  "access_token": "string",
  "token_type": "string",
  "expires_in": 0,
  "user": {
    "id": "string",
    "email": "string",
    "first_name": "string",
    "last_name": "string"
  },
  "default_environment_slug": "string",
  "mfa_enrollment_pending": false,
  "grace_expires_at": "2026-04-20T12:00:00.000Z"
}

Properties

7 properties 3 required

access_token string Required
token_type string Required
expires_in number Required
user AuthUserDto Optional
default_environment_slug string Optional
mfa_enrollment_pending boolean Optional

True when the Account requires a second factor, the administrator holds none, and the grace window still has time. The session is issued; nudge the person to enroll before `grace_expires_at`.

grace_expires_at string Optional

Deadline by which the administrator must enroll a factor; after it, the session is refused at its next refresh or App switch (`auth.mfa_enrollment_required`) and the person signs in again to enroll.

format: date-time
Was this page helpful?

Tell us how we can improve this guide.