importAuthToken

open suspend fun importAuthToken(    accessToken: String,     refreshToken: String = "",     retrieveUser: Boolean = false,     autoRefresh: Boolean = if(refreshToken.isNotBlank()) config.alwaysAutoRefresh else false)(source)

Imports the jwt token and retrieves the user profile. Be aware auto-refreshing is not available when importing only a jwt token.

Parameters

accessToken

The jwt token to import

retrieveUser

Whether to retrieve the user profile or not