storeToken

suspend fun storeToken(token: Token? = _token, tags: Map<String, String> = _tags)

Store a token, or update the existing token. This can also be used to store custom tags.

Parameters

token

the token to update this Credential with, defaults to the current Token.

tags

the map to associate with this Credential, defaults to the current tags.