Skip to Content
APIPlanning Center People TSSrcFunctionsFunction: attemptTokenRefresh()

planning-center-monorepo v1.0.0


planning-center-monorepo / planning-center-people-ts/src / attemptTokenRefresh

Function: attemptTokenRefresh()

attemptTokenRefresh<T>(client, originalRequest): Promise<T>

Defined in: packages/planning-center-people-ts/src/auth.ts:127 

Attempt to refresh tokens and retry the original request

Type Parameters

T

T

Parameters

client

PcoClientState

originalRequest

() => Promise<T>

Returns

Promise<T>