UserCredentialStorage

Storage for CredentialConfig. SDK needs to store user credentials to restore SDK with user connected state. It is required for push notifications for example. When a device receives push notification app with SDK might be killed or not run completely. SDK handles it and restore state using data from CredentialConfig.

Functions

Link copied to clipboard
abstract fun clear()

Clear current storage.

Link copied to clipboard
abstract fun get(): CredentialConfig?

Obtain CredentialConfig if it was stored before.

Link copied to clipboard
abstract fun put(credentialConfig: CredentialConfig)

Save credentialConfig to this storage.