Directus / @directus/sdk / auth / LoginOptions
Type Alias: LoginOptions ​
LoginOptions:
object
Defined in: auth/types.ts:3
Type declaration ​
mode? ​
optionalmode:AuthenticationMode
Whether to retrieve the refresh token in the JSON response, or in a httpOnly cookie. One of json, cookie or session. Defaults to cookie.
otp? ​
optionalotp:string
The user's one-time-password (if MFA is enabled).
provider? ​
optionalprovider:string
Use a specific authentication provider (does not work for SSO that relies on browser redirects).