Interface: WebAuthnCredential
Defined in: src/types/interfaces/webauthn.interface.ts:30
WebAuthn credential stored in database.
Properties
aaguid?
readonlyoptionalaaguid:string
Defined in: src/types/interfaces/webauthn.interface.ts:83
AAGUID of the authenticator.
Remarks
Can be used to identify authenticator type.
counter
readonlycounter:number
Defined in: src/types/interfaces/webauthn.interface.ts:53
Signature counter for replay detection.
Remarks
Incremented by authenticator on each use. If counter decreases, credential may be cloned.
createdAt
readonlycreatedAt:Date
Defined in: src/types/interfaces/webauthn.interface.ts:70
Credential creation timestamp.
credentialId
readonlycredentialId:string
Defined in: src/types/interfaces/webauthn.interface.ts:34
Credential ID (base64url encoded).
did
readonlydid:DID
Defined in: src/types/interfaces/webauthn.interface.ts:39
Associated user's DID.
lastUsedAt?
readonlyoptionallastUsedAt:Date
Defined in: src/types/interfaces/webauthn.interface.ts:75
Last authentication timestamp.
nickname?
readonlyoptionalnickname:string
Defined in: src/types/interfaces/webauthn.interface.ts:65
User-provided nickname for the credential.
Example
"MacBook Touch ID", "YubiKey 5C"
publicKey
readonlypublicKey:string
Defined in: src/types/interfaces/webauthn.interface.ts:44
COSE public key (base64url encoded).
transports?
readonlyoptionaltransports: readonlyAuthenticatorTransport[]
Defined in: src/types/interfaces/webauthn.interface.ts:58
Credential transports.