summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/authentication/generateAuthenticationOptions.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-11-05 22:41:00 -0700
committerMatthew Miller <matthew@millerti.me>2022-11-05 22:42:53 -0700
commit94101488e87a56393693e617d5502c6eae096d50 (patch)
tree9d15019b5ad3195e8491f1feb10f0b0600e733a4 /packages/server/src/authentication/generateAuthenticationOptions.ts
parent3e372d7cbe5121cce5201cc0609767421b3218f0 (diff)
Replace most Buffer types with Uint8Array
Diffstat (limited to 'packages/server/src/authentication/generateAuthenticationOptions.ts')
-rw-r--r--packages/server/src/authentication/generateAuthenticationOptions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/authentication/generateAuthenticationOptions.ts b/packages/server/src/authentication/generateAuthenticationOptions.ts
index b80473e..3561b28 100644
--- a/packages/server/src/authentication/generateAuthenticationOptions.ts
+++ b/packages/server/src/authentication/generateAuthenticationOptions.ts
@@ -10,7 +10,7 @@ import { generateChallenge } from '../helpers/generateChallenge';
export type GenerateAuthenticationOptionsOpts = {
allowCredentials?: PublicKeyCredentialDescriptorFuture[];
- challenge?: string | Buffer;
+ challenge?: string | Uint8Array;
timeout?: number;
userVerification?: UserVerificationRequirement;
extensions?: AuthenticationExtensionsClientInputs;