CredentialDataSource

class CredentialDataSource

Responsible for managing Credential instances.

This is intended to be held as a singleton, and used throughout the lifecycle of the application.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun createCredential(): Credential

Creates a Credential, and stores it in the associated TokenStorage.

Link copied to clipboard
suspend fun listCredentials(): List<Credential>

Returns all of the Credentials stored in the associated TokenStorage.