VerificationCodeExchangeRequest interface
Request payload for exchanging a verification code for tokens. Used in the magic link callback flow.
Properties
| code |
Optional code type discriminator.
When set to |
| code |
The PKCE code verifier (stored during sendMagicLink). |
| redirect |
The redirect URI (must match what was sent with sendMagicLink). |
| verification |
The verification code from the magic link callback URL. |
Property Details
codeType
Optional code type discriminator.
When set to 'fabric_handoff', indicates a Fabric brokered auth exchange.
Omit for standard magic link verification code exchanges.
codeType?: string
Property Value
string
codeVerifier
The PKCE code verifier (stored during sendMagicLink).
codeVerifier: string
Property Value
string
redirectUri
The redirect URI (must match what was sent with sendMagicLink).
redirectUri: string
Property Value
string
verificationCode
The verification code from the magic link callback URL.
verificationCode: string
Property Value
string