ReadonlychallengeContext: stringReadonlydefaultMethod: TwoFactorBloksDefaultMethodOptional ReadonlymethodPickerScreenId?: stringScreen instance id the entrypoint response issued for the method-picker
screen ("Try another way"); pass it to TwoFactorBloksGetMethods as
screenId.
Optional Readonlymethods?: readonly TwoFactorBloksMethod[]Available 2FA methods; undefined when the method picker was skipped.
Optional ReadonlypollQpl?: TwoFactorBloksQplQPL marker/instance the 2FA entrypoint response issued for the
has_been_allowed poll. Carried to the caller so the poll echoes the value
the server issued rather than minting its own. Present only for the
approve-from-another-device default.
Readonly_Optional Readonly~effect/Optional Readonly~effect/Optional Readonly~effect/Optional Readonly~effect/Optional Readonly~effect/OptionalcauseReadonlychallengeReadonlydefaultThe 2FA method the server chose for this account, in the same vocabulary as
methods ('approve_from_another_device' | 'whatsapp' | 'totp' | 'sms' | 'backup_codes' | 'unknown'). 'approve_from_another_device' when the
entrypoint scheduled the has_been_allowed poll; otherwise refined from the
method picker's preselected method, or 'unknown' when neither names one.
A broken (empty/unparsable) entrypoint response raises
LoginTwoFactorEntrypointParseError instead of yielding 'unknown'.
Optional ReadonlymethodScreen instance id the entrypoint response issued for the method-picker
screen ("Try another way"); pass it to TwoFactorBloksGetMethods as
screenId.
Optional ReadonlymethodsAvailable 2FA methods; undefined when the method picker was skipped.
Optional ReadonlypollQPL marker/instance the 2FA entrypoint response issued for the
has_been_allowed poll. Carried to the caller so the poll echoes the value
the server issued rather than minting its own. Present only for the
approve-from-another-device default.
Optionalstack
The 2FA method the server chose for this account, in the same vocabulary as
methods('approve_from_another_device' | 'whatsapp' | 'totp' | 'sms' | 'backup_codes' | 'unknown').'approve_from_another_device'when the entrypoint scheduled thehas_been_allowedpoll; otherwise refined from the method picker's preselected method, or'unknown'when neither names one. A broken (empty/unparsable) entrypoint response raisesLoginTwoFactorEntrypointParseErrorinstead of yielding'unknown'.