MagicLinkResult interface

Result from initiating a magic link request. Contains the state parameter needed to correlate the callback.

Properties

message

Optional message from the server.

state

The state parameter for correlating the callback (stored in localStorage for cross-tab support).

success

Whether the magic link was sent successfully.

Property Details

message

Optional message from the server.

message?: string

Property Value

string

state

The state parameter for correlating the callback (stored in localStorage for cross-tab support).

state: string

Property Value

string

success

Whether the magic link was sent successfully.

success: boolean

Property Value

boolean