Skip to content

PERS SDK - v2.3.26 / Exports / StaticJwtAuthProviderConfig

Interface: StaticJwtAuthProviderConfig

Table of contents

Properties

Properties

jwt

jwt: string

Static JWT token

Defined in

core/auth/static-jwt-auth-provider.ts:31


projectKey

projectKey: string

Project key for API requests

Defined in

core/auth/static-jwt-auth-provider.ts:33


authType

Optional authType: AccountOwnerType

Authentication type (default: AccountOwnerType.BUSINESS)

Defined in

core/auth/static-jwt-auth-provider.ts:35


onAuthStatusChange

Optional onAuthStatusChange: (status: AuthStatus) => Promise<void>

Optional callback for auth status changes

Type declaration

▸ (status): Promise<void>

Parameters
NameType
statusAuthStatus
Returns

Promise<void>

Defined in

core/auth/static-jwt-auth-provider.ts:37