AccessTokenRepository

Functions

Link copied to clipboard
abstract suspend fun getNewAccessToken(refreshToken: String, clientId: String? = null): <Error class: unknown class><<Error class: unknown class>, AccessTokenRefreshResult>

Retrieves a new access token using the provided refresh token and client ID.

Link copied to clipboard
abstract suspend fun persistTokens(accessToken: AccessToken, refreshToken: RefreshToken): <Error class: unknown class><<Error class: unknown class>, AccountTokens>

Persists the access token and refresh token in the repository.