diff options
Diffstat (limited to 'packages/server/src/assertion/verifyAssertionResponse.ts')
-rw-r--r-- | packages/server/src/assertion/verifyAssertionResponse.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/assertion/verifyAssertionResponse.ts b/packages/server/src/assertion/verifyAssertionResponse.ts index e97a8f3..ca7f92c 100644 --- a/packages/server/src/assertion/verifyAssertionResponse.ts +++ b/packages/server/src/assertion/verifyAssertionResponse.ts @@ -12,7 +12,7 @@ import verifySignature from '../helpers/verifySignature'; import parseAuthenticatorData from '../helpers/parseAuthenticatorData'; import isBase64URLString from '../helpers/isBase64URLString'; -export type VerifyAssertionOptions = { +export type VerifyAssertionResponseOptions = { credential: AssertionCredentialJSON; expectedChallenge: string; expectedOrigin: string | string[]; @@ -36,7 +36,7 @@ export type VerifyAssertionOptions = { * `generateAssertionOptions()`. Activates FIDO-specific user presence and verification checks. * Omitting this value defaults verification to a WebAuthn-specific user presence requirement. */ -export default function verifyAssertionResponse(options: VerifyAssertionOptions): VerifiedAssertion { +export default function verifyAssertionResponse(options: VerifyAssertionResponseOptions): VerifiedAssertion { const { credential, expectedChallenge, |