Skip to content

TokenProvider

Defined in: libs/ccs-files-user-client/src/core/types.ts:745

getAccessToken(options?): Promise<string>

Defined in: libs/ccs-files-user-client/src/core/types.ts:747

The cached token, or a new one from the route; { forceRefresh: true } skips the cache.

GetAccessTokenOptions

Promise<string>


getConfig(): Promise<TokenRouteConfig | null>

Defined in: libs/ccs-files-user-client/src/core/types.ts:749

The route’s api_url, tenant_id, application_id (and extra), or null when it sent none.

Promise<TokenRouteConfig | null>


clear(): void

Defined in: libs/ccs-files-user-client/src/core/types.ts:751

Forgets the token and the configuration (sign-out).

void