save

abstract suspend fun save(credential: StoredCredential)

Saves a credential to storage using upsert semantics.

If a credential with the same ID already exists, it is overwritten.

Parameters

credential

The credential to save

Throws