data class Credential
(source)
Link
WebAuthn#Credential type documentation.
Credential(credentialId: String, isResidentCredential: Boolean, rpId: String? = null, privateKey: String, userHandle: String? = null, signCount: Int) |
val credentialId: String |
|
val isResidentCredential: Boolean |
|
val privateKey: String
The ECDSA P-256 private key in PKCS#8 format. |
|
val rpId: String?
Relying Party ID the credential is scoped to. Must be set when adding a credential. |
|
val signCount: Int
Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter |
|
val userHandle: String?
An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user. |