Returns a new auth response (token and user data) for already authenticated auth record.

This method is usually called by users on page/screen reload to ensure that the previously stored data in pb.authStore is still valid and up-to-date.

API details
POST
/api/collections/collectionIdOrName/auth-refresh
Requires Authorization:TOKEN
Path parameters
Param Type Description
collectionIdOrName String ID or name of the auth collection.
Query parameters
Param Type Description
Responses
{#each responses as response (response.code)} {/each}
{#each responses as response (response.code)}
{/each}