diff options
author | Matthew Miller <matthew@millerti.me> | 2024-04-11 18:20:57 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2024-04-11 18:20:57 -0700 |
commit | b1b6d33c8c07f445b63f9c29cc98c47db65767d7 (patch) | |
tree | 79e884a124ad5ebab71e4d063901de58113e27f4 /packages/server/src/helpers/index.ts | |
parent | fe90e2765b2bfab2405ef2875c9c98d39d66416e (diff) |
Add method to generate user IDs
Diffstat (limited to 'packages/server/src/helpers/index.ts')
-rw-r--r-- | packages/server/src/helpers/index.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/server/src/helpers/index.ts b/packages/server/src/helpers/index.ts index 30cf867..09b2f33 100644 --- a/packages/server/src/helpers/index.ts +++ b/packages/server/src/helpers/index.ts @@ -5,6 +5,7 @@ import { decodeAttestationObject } from './decodeAttestationObject.ts'; import { decodeClientDataJSON } from './decodeClientDataJSON.ts'; import { decodeCredentialPublicKey } from './decodeCredentialPublicKey.ts'; import { generateChallenge } from './generateChallenge.ts'; +import { generateUserID } from './generateUserID.ts'; import { getCertificateInfo } from './getCertificateInfo.ts'; import { isCertRevoked } from './isCertRevoked.ts'; import { parseAuthenticatorData } from './parseAuthenticatorData.ts'; @@ -23,6 +24,7 @@ export { decodeClientDataJSON, decodeCredentialPublicKey, generateChallenge, + generateUserID, getCertificateInfo, isCertRevoked, isoBase64URL, @@ -42,7 +44,12 @@ import type { } from './decodeAttestationObject.ts'; import type { CertificateInfo } from './getCertificateInfo.ts'; import type { ClientDataJSON } from './decodeClientDataJSON.ts'; -import type { COSEPublicKey, COSEPublicKeyEC2, COSEPublicKeyOKP, COSEPublicKeyRSA } from './cose.ts'; +import type { + COSEPublicKey, + COSEPublicKeyEC2, + COSEPublicKeyOKP, + COSEPublicKeyRSA, +} from './cose.ts'; import type { ParsedAuthenticatorData } from './parseAuthenticatorData.ts'; export type { |