summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/authentication/verifyAuthenticationResponse.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-04-13 09:21:40 -0700
committerMatthew Miller <matthew@millerti.me>2022-05-15 21:49:33 -0700
commitecbc0faeb9cab5f2b3e2efb6c52ae817ac3fd9af (patch)
tree8ec950392ba428c1a414ec583fce1ee96bafc047 /packages/server/src/authentication/verifyAuthenticationResponse.ts
parente0309e69658a364d966354eccf006977129745ac (diff)
Tweak wording to reflect related spec diff
Diffstat (limited to 'packages/server/src/authentication/verifyAuthenticationResponse.ts')
-rw-r--r--packages/server/src/authentication/verifyAuthenticationResponse.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/server/src/authentication/verifyAuthenticationResponse.ts b/packages/server/src/authentication/verifyAuthenticationResponse.ts
index a816c90..264a2f2 100644
--- a/packages/server/src/authentication/verifyAuthenticationResponse.ts
+++ b/packages/server/src/authentication/verifyAuthenticationResponse.ts
@@ -206,9 +206,10 @@ export default function verifyAuthenticationResponse(
* reported it has been used. **Should be kept in a DB for later reference to help prevent replay
* attacks!**
* @param authenticationInfo.credentialDeviceType Whether this is a single-device or multi-device
- * credential
+ * credential. **Should be kept in a DB for later reference!**
* @param authenticationInfo.credentialBackedUp Whether or not the multi-device credential has been
- * backed up. Always `false` for single-device credentials
+ * backed up. Always `false` for single-device credentials. **Should be kept in a DB for later
+ * reference!**
*/
export type VerifiedAuthenticationResponse = {
verified: boolean;