From 119609521b031445fbfd8134b2b493af0d22d5aa Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 5 Feb 2021 10:15:25 -0800 Subject: Remove custom extension types These types have been updated in TypeScript itself so we can reference them instead --- packages/typescript-types/src/index.ts | 72 ---------------------------------- 1 file changed, 72 deletions(-) (limited to 'packages/typescript-types/src') diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts index 012611f..25d4203 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -144,75 +144,3 @@ export interface AuthenticatorAttestationResponseFuture extends AuthenticatorAtt getPublicKey?: () => ArrayBuffer; getPublicKeyAlgorithm?: () => COSEAlgorithmIdentifier[]; } - -/** - * Client Extensions - Attestation (Registration) - */ - -export interface CredentialCreationExtensionsInputJSON { - appidExclude?: string; - uvm?: boolean; - credProps?: boolean; - prf?: { - eval?: { - first: Base64URLString; - second?: Base64URLString; - }; - evalByCredential?: { - [base64CredID: string]: { first: Base64URLString; second?: Base64URLString }; - }; - }; -} - -export interface CredentialCreationExtensionsOutputJSON { - appidExclude?: boolean; - uvm?: Array<[number, number, number]>; - credProps?: { - rk: boolean; - }; - prf?: { - enabled?: boolean; - results?: { - first: Base64URLString; - second?: Base64URLString; - }; - }; -} - -/** - * Client Extensions - Assertion (Authentication) - */ - -export interface CredentialRequestExtensionsInputJSON { - appid?: string; - uvm?: boolean; - prf?: { - eval?: { - first: Base64URLString; - second?: Base64URLString; - }; - evalByCredential?: { - [base64CredID: string]: { first: Base64URLString; second?: Base64URLString }; - }; - }; - largeBlob?: { - read?: boolean; - write?: Base64URLString; - }; -} - -export interface CredentialRequestExtensionsOutputJSON { - appid?: boolean; - uvm?: Array<[number, number, number]>; - prf?: { - enabled?: boolean; - results?: { - first: Base64URLString; - second?: Base64URLString; - }; - }; - largeBlob?: { - blob?: Base64URLString; - written?: boolean; - }; -} -- cgit v1.2.3