Skip to main content

AuthOptions

Datalayer Core


Datalayer Core / AuthOptions

Interface: AuthOptions

Defined in: src/client/auth/types.ts:22

Authentication options for login flow

Properties

callbackUri?

optional callbackUri: string

Defined in: src/client/auth/types.ts:46

Callback URI for OAuth redirect


handle?

optional handle: string

Defined in: src/client/auth/types.ts:30

User handle for credentials-based auth


nonce?

optional nonce: string

Defined in: src/client/auth/types.ts:50

Nonce for OAuth state parameter


noStore?

optional noStore: boolean

Defined in: src/client/auth/types.ts:58

Don't store the token after authentication


oauthProvider?

optional oauthProvider: "github" | "linkedin"

Defined in: src/client/auth/types.ts:42

OAuth provider (github or linkedin)


password?

optional password: string

Defined in: src/client/auth/types.ts:34

Password for credentials-based auth


token?

optional token: string

Defined in: src/client/auth/types.ts:26

Existing authentication token


useBrowser?

optional useBrowser: boolean

Defined in: src/client/auth/types.ts:38

Use browser-based OAuth flow


usePopup?

optional usePopup: boolean

Defined in: src/client/auth/types.ts:54

Use popup window for OAuth (default: true). If false, redirects the current page.