AuthStorage

internal class AuthStorage(source)

AuthStorage is responsible to store the accessToken.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Return the access token.

Link copied to clipboard

Encode the clientId and clientSecret and return the encoded string.

Link copied to clipboard
fun init(clientId: String, clientSecret: String)

Init the storage.

Link copied to clipboard
fun updateAccessToken(accessToken: String)

Update access token with a new one after expiry.