Interface: PasswordlessAuthOptions
Properties
Section titled “Properties”appName
Section titled “appName”appName:
string
authorizeIdentity
Section titled “authorizeIdentity”authorizeIdentity:
AuthorizeIdentity
basePath?
Section titled “basePath?”
optionalbasePath?:string
baseURL
Section titled “baseURL”baseURL:
string
codeTtlSeconds
Section titled “codeTtlSeconds”codeTtlSeconds:
number
logoutRedirectPath?
Section titled “logoutRedirectPath?”
optionallogoutRedirectPath?:string
Same-origin path returned after logout. Defaults to /.
maxAttempts
Section titled “maxAttempts”maxAttempts:
number
message?
Section titled “message?”
optionalmessage?:string
secret
Section titled “secret”secret:
string
sessionCookieName?
Section titled “sessionCookieName?”
optionalsessionCookieName?:string
sessionCutoffMs?
Section titled “sessionCutoffMs?”
optionalsessionCutoffMs?:number
sessionTtlSeconds
Section titled “sessionTtlSeconds”sessionTtlSeconds:
number
storage
Section titled “storage”storage:
AuthStorage
subject?
Section titled “subject?”
optionalsubject?:string
Methods
Section titled “Methods”sendCode()
Section titled “sendCode()”sendCode(
code,options):Promise<void>
Parameters
Section titled “Parameters”string
string
options
Section titled “options”Returns
Section titled “Returns”Promise<void>