AuthOptions
Datalayer Core / AuthOptions
Interface: AuthOptions
Defined in: src/client/auth/types.ts:22
Authentication options for login flow
Properties
callbackUri?
optionalcallbackUri:string
Defined in: src/client/auth/types.ts:46
Callback URI for OAuth redirect
handle?
optionalhandle:string
Defined in: src/client/auth/types.ts:30
User handle for credentials-based auth
nonce?
optionalnonce:string
Defined in: src/client/auth/types.ts:50
Nonce for OAuth state parameter
noStore?
optionalnoStore:boolean
Defined in: src/client/auth/types.ts:58
Don't store the token after authentication
oauthProvider?
optionaloauthProvider:"github"|"linkedin"
Defined in: src/client/auth/types.ts:42
OAuth provider (github or linkedin)
password?
optionalpassword:string
Defined in: src/client/auth/types.ts:34
Password for credentials-based auth
token?
optionaltoken:string
Defined in: src/client/auth/types.ts:26
Existing authentication token
useBrowser?
optionaluseBrowser:boolean
Defined in: src/client/auth/types.ts:38
Use browser-based OAuth flow
usePopup?
optionalusePopup:boolean
Defined in: src/client/auth/types.ts:54
Use popup window for OAuth (default: true). If false, redirects the current page.