MagicLinkCallbackResult interface

Result from handling a magic link callback.

Properties

error

Error message if authentication failed.

errorCode

Error code if authentication failed.

session

The authenticated session if successful.

success

Whether the authentication was successful.

Property Details

error

Error message if authentication failed.

error?: string

Property Value

string

errorCode

Error code if authentication failed.

errorCode?: string

Property Value

string

session

The authenticated session if successful.

session?: OpaqueSession

Property Value

success

Whether the authentication was successful.

success: boolean

Property Value

boolean