saveTokens

abstract suspend fun saveTokens(accessToken: String?, refreshToken: String?)(source)

Persists both tokens.

Passing null for a token should remove it from storage.

Parameters

accessToken

The new access token.

refreshToken

The new refresh token.