persistTokens
open suspend override fun persistTokens(accessToken: AccessToken, refreshToken: RefreshToken): Either<StorageFailure, AccountTokens>
Persists the access token and refresh token in the repository.
Return
Either a CoreFailure if the operation fails, or Unit if the tokens are successfully persisted.
Parameters
accessToken
The access token to persist.
refreshToken
The refresh token to persist.