Credential
@Serializable
Constructors
Link copied to clipboard
constructor(credentialId: String, isResidentCredential: Boolean, rpId: String? = null, privateKey: String, userHandle: String? = null, signCount: Int, largeBlob: String? = null, backupEligibility: Boolean? = null, backupState: Boolean? = null, userName: String? = null, userDisplayName: String? = null)
Properties
Link copied to clipboard
Assertions returned by this credential will have the backup eligibility (BE) flag set to this value. Defaults to the authenticator's defaultBackupEligibility value.
Link copied to clipboard
Assertions returned by this credential will have the backup state (BS) flag set to this value. Defaults to the authenticator's defaultBackupState value.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The ECDSA P-256 private key in PKCS#8 format. (Encoded as a base64 string when passed over JSON)
Link copied to clipboard
The credential's user.displayName property. Equivalent to empty if not set. https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
Link copied to clipboard
An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user. (Encoded as a base64 string when passed over JSON)