Skip to content

@pbvex/client / OAuth2Options

Interface: OAuth2Options

Extends

Properties

body?

optional body?: Record<string, unknown>

Inherited from

AuthRequestOptions.body


createData?

optional createData?: Record<string, unknown>


headers?

optional headers?: Record<string, string>

Inherited from

AuthRequestOptions.headers


mfaId?

optional mfaId?: string

PocketBase MFA session id returned by the first successful auth method.

Inherited from

AuthRequestOptions.mfaId


provider

provider: string


query?

optional query?: Record<string, string | number | boolean | undefined>

Inherited from

AuthRequestOptions.query


scopes?

optional scopes?: string[]


signal?

optional signal?: AbortSignal

Inherited from

AuthRequestOptions.signal


urlCallback?

optional urlCallback?: (url) => void | Promise<void>

Parameters

url

string

Returns

void | Promise<void>

Generated API reference. Source of truth is the codebase.