CodeAuthenticationRequest
Represents an authentication one-time-code request
Extends BaseAuthenticationRequest
Attributes (5)
| Attribute | Type | Required | Description |
|---|---|---|---|
grant_type | 'code' | Yes | The grant type for the request |
code | string | Yes | The one-time code |
code_verifier | string | No | PKCE verifier — required for a primary code login; absent when mfa_challenge_id is set |
mfa_challenge_id | string | No | When set, completes a pending MFA challenge; replaces code_verifier as proof-of-origin |
challenge_id | string | No | The phone/email challenge id (returned by POST /auth/factors/start for phone-MFA). Required when mfa_challenge_id is set; ignored otherwise (resolved via PKCE) |