PartialsCredentialRepository

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val applicationName: String
Link copied to clipboard
abstract val domain: String
Link copied to clipboard
abstract val origins: Set<String>

Functions

Link copied to clipboard
abstract fun addCredential(username: String, userHandle: ByteArray, credentialId: ByteArray, credentialRecord: CredentialRecord)

Call this after a successful registration to persist the new credential.

Link copied to clipboard
abstract fun getCredentialsForUsername(username: String): Set<ByteArray>
Link copied to clipboard
abstract fun getUsernameForUserHandle(userHandle: ByteArray): String?
Link copied to clipboard
abstract fun lookup(credentialId: ByteArray): StoredCredential?
Link copied to clipboard
abstract fun updateSignatureCount(credentialId: ByteArray, newCount: Long)