fetchToken
suspend fun Session.fetchToken(options: GetTokenOptions = GetTokenOptions()): ClerkResult<TokenResource, ClerkErrorResponse>
Fetches a fresh JWT for the session.
Return
The ClerkResult containing the TokenResource if successful, or ClerkErrorResponse if failed.
Parameters
options
The options to use when fetching the token.