Skip to content

Type Alias: ODataAuth

ODataAuth = { token: string | (() => string | Promise<string>); type: "bearer"; } | { password: string; type: "basic"; username: string; } | { headers: Record<string, string> | (() => Record<string, string>); type: "headers"; }

Defined in: src/adapters/odata/types.ts:4

Authentication configuration for OData requests.