add

abstract suspend fun add(token: Token, metadata: Token.Metadata, security: Credential.Security = Credential.Security.standard)

Add Token and its Token.Metadata to storage. Encrypt Token with specified security.

Parameters

token

Token to add to storage.

metadata

Token.Metadata for the token to add to storage.

security

Credential.Security for specifying how to encrypt the token before adding to storage.