store

fun store(token: Token, tags: Map<String, String> = emptyMap(), security: Credential.Security = Security.standard): Credential

Store a Token with optional tags and security options. Return the Credential object associated with the stored Token

Note: This blocks on storeAsync.

Parameters

token

The Token to store

tags

User-defined value map to store along with token

security

Security level for storing the Token