Interface: PrivateClientOptions
How a PrivateClient is built: transport, session store and session-expiry hook.
Extended by
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
onSessionExpired? | readonly | (error) => Promise<void> | Called when a request is rejected with login_required (the session expired). It should re-authenticate. The rejected request is then repeated once. Several requests failing together share one call, and requests the hook itself makes never trigger it again. |
session? | readonly | SessionData | - |
store? | readonly | SessionStore | - |
transport? | readonly | HttpTransport | - |