SsrAuthApi
The refresh and sign-out API for an SSR client, where the refresh token lives in an httpOnly cookie that JS can't read.
Refreshing goes through an HTTP request to the SSR host, which carries the
refresh token in the cookie and replies with a SlimTokenBundle
containing a new access token, or null when the session is gone.
Properties
| Property | Type |
|---|---|
refreshSession | () => Promise<SlimTokenBundle | null> |
signOut | () => Promise<void> |