diff options
author | Matthew Miller <matthew@millerti.me> | 2022-05-18 16:19:53 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-05-18 16:19:53 -0700 |
commit | 03da18fac7b3a9c6c1de0468469bb3624af3f0b3 (patch) | |
tree | 726ec49874a77b861a2e221aa05f915944f2f006 /packages/server/src/authentication/generateAuthenticationOptions.ts | |
parent | f51a8b528f5cea10aa181f6112928f968b3c14ca (diff) |
Point PublicKeyCredentialDescriptor to "Future"
Diffstat (limited to 'packages/server/src/authentication/generateAuthenticationOptions.ts')
-rw-r--r-- | packages/server/src/authentication/generateAuthenticationOptions.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/authentication/generateAuthenticationOptions.ts b/packages/server/src/authentication/generateAuthenticationOptions.ts index f176835..54a81a3 100644 --- a/packages/server/src/authentication/generateAuthenticationOptions.ts +++ b/packages/server/src/authentication/generateAuthenticationOptions.ts @@ -1,7 +1,7 @@ import type { AuthenticationExtensionsClientInputs, PublicKeyCredentialRequestOptionsJSON, - PublicKeyCredentialDescriptor, + PublicKeyCredentialDescriptorFuture, UserVerificationRequirement, } from '@simplewebauthn/typescript-types'; import base64url from 'base64url'; @@ -9,7 +9,7 @@ import base64url from 'base64url'; import generateChallenge from '../helpers/generateChallenge'; export type GenerateAuthenticationOptionsOpts = { - allowCredentials?: PublicKeyCredentialDescriptor[]; + allowCredentials?: PublicKeyCredentialDescriptorFuture[]; challenge?: string | Buffer; timeout?: number; userVerification?: UserVerificationRequirement; |