Interface: UseLoginOptions
Extended by
Properties
onSetToken?
optionalonSetToken?: (token) =>Promise<void>
Called after successful login with the new access token. Use this to set
the httpOnly cookie via an API route handler (createSetTokenHandler).
Parameters
token
string
Returns
Promise<void>