diff options
author | Matthew Miller <matthew@millerti.me> | 2021-02-05 09:12:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 09:12:23 -0800 |
commit | 432ff68bab6b11f6ccbf549d8be397fd71da29f9 (patch) | |
tree | 9dc17be10efa4545a0b5a5a86236cf34405d133f /packages/typescript-types/src | |
parent | 70c1360339d0e63dafd4a04fa1824d9453f0a802 (diff) | |
parent | 897291381dd45a94daf322cf533626fe7e235349 (diff) |
Merge pull request #97 from MasterKale/feature/better-passwordless-usernameless
feature/better-passwordless-usernameless
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r-- | packages/typescript-types/src/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts index c950398..8ba2297 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -112,9 +112,9 @@ export interface AuthenticatorAssertionResponseJSON * A WebAuthn-compatible device and the information needed to verify assertions by it */ export type AuthenticatorDevice = { - publicKey: Base64URLString; - credentialID: Base64URLString; - // Number of times this device is expected to have been used + credentialPublicKey: Buffer; + credentialID: Buffer; + // Number of times this authenticator is expected to have been used counter: number; // From browser's `startAttestation()` -> AttestationCredentialJSON.transports (API L2 and up) transports?: AuthenticatorTransport[]; |