refresh

Perform a single-flight token refresh.

Multiple concurrent callers will share the same refresh operation. If called within the cooldown window after a successful refresh, returns the cached result immediately.

Return

AuthenticationTokens from a successful refresh

Throws

if the refresh token is revoked or invalid

if no refresh token is available