In Memory Credential Repo
class InMemoryCredentialRepo(val domain: String = "localhost", val applicationName: String = "Partials Test", val origins: Set<String> = setOf("http://localhost:2500")) : PartialsCredentialRepository
Functions
Link copied to clipboard
open override fun addCredential(username: String, userHandle: WebAuthByteArray, credentialId: WebAuthByteArray, publicKeyCose: WebAuthByteArray, signatureCount: Long)
Call this after a successful registration to persist the new credential.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun lookup(credentialId: WebAuthByteArray, userHandle: WebAuthByteArray): Optional<RegisteredCredential>
Link copied to clipboard
Link copied to clipboard
Call this after a successful authentication to update the signature counter.