saveAccessToken

fun saveAccessToken(context: Context, accessToken: AccessToken?)

Saves the provided access token in the shared preferences along with its expiry date.

Parameters

context

The context used to access shared preferences.

accessToken

The access token to be saved.