diff --git a/src/webauthn-json/extended/json.ts b/src/webauthn-json/extended/json.ts index ea1bcd0e..ae27993a 100644 --- a/src/webauthn-json/extended/json.ts +++ b/src/webauthn-json/extended/json.ts @@ -9,6 +9,11 @@ import { AuthenticatorAttestationResponseJSON, } from "../basic/json"; +interface AuthenticationExtensionsPRFValuesJSON { + first: Base64urlString; + second?: Base64urlString; +} + interface ExtendedExtensionsClientInputsJSON { appid?: string; appidExclude?: string; @@ -19,6 +24,18 @@ interface ExtendedExtensionsClientInputsJSON { read?: boolean; write?: Base64urlString; }; + prf?: { + eval: AuthenticationExtensionsPRFValuesJSON; + evalByCredential: Record< + Base64urlString, + AuthenticationExtensionsPRFValuesJSON + >; + }; +} + +interface AuthenticationExtensionsPRFOutputsJSON { + enabled?: boolean; + results?: AuthenticationExtensionsPRFValuesJSON; } interface ExtendedAuthenticationExtensionsClientOutputsJSON { @@ -33,6 +50,7 @@ interface ExtendedAuthenticationExtensionsClientOutputsJSON { blob?: Base64urlString; written?: boolean; }; + prf?: AuthenticationExtensionsPRFOutputsJSON; } interface PublicKeyCredentialCreationOptionsExtendedJSON
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: