diff options
author | Matthew Miller <matthew@millerti.me> | 2022-07-28 10:15:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 10:15:46 -0700 |
commit | 9e260901cf3ae69b40f50b7a1fd4ac5388186a08 (patch) | |
tree | f7fe58214818bae6bec73a759087cf3d4a53c1a7 /packages/server/src/helpers/decodeAuthenticatorExtensions.ts | |
parent | 522f00d9ae613ff1f51f0c1aca85a6ae129381c5 (diff) | |
parent | 2b9f082fc129566b97ec6f72cf390c25f55647ac (diff) |
Merge pull request #232 from MasterKale/linting-catch-up
Run `npm run lint`
Diffstat (limited to 'packages/server/src/helpers/decodeAuthenticatorExtensions.ts')
-rw-r--r-- | packages/server/src/helpers/decodeAuthenticatorExtensions.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/server/src/helpers/decodeAuthenticatorExtensions.ts b/packages/server/src/helpers/decodeAuthenticatorExtensions.ts index a0dc5c2..7723d85 100644 --- a/packages/server/src/helpers/decodeAuthenticatorExtensions.ts +++ b/packages/server/src/helpers/decodeAuthenticatorExtensions.ts @@ -6,7 +6,7 @@ import cbor from 'cbor'; * @param extensionData Authenticator Extension Data buffer */ export function decodeAuthenticatorExtensions( - extensionData: Buffer + extensionData: Buffer, ): AuthenticationExtensionsAuthenticatorOutputs | undefined { let toCBOR: AuthenticationExtensionsAuthenticatorOutputs | undefined; try { @@ -21,17 +21,17 @@ export function decodeAuthenticatorExtensions( export type AuthenticationExtensionsAuthenticatorOutputs = { devicePublicKey?: DevicePublicKeyAuthenticatorOutput; uvm?: UVMAuthenticatorOutput; -} +}; export type DevicePublicKeyAuthenticatorOutput = { dpk?: Buffer; scp?: Buffer; sig?: string; aaguid?: Buffer; -} +}; // TODO: Need to verify this format // https://w3c.github.io/webauthn/#sctn-uvm-extension. export type UVMAuthenticatorOutput = { - uvm?: Buffer[] -} + uvm?: Buffer[]; +}; |