-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
w3c/webauthn#1732 re-added this: https://w3c.github.io/webauthn/#prf-extension
We need to add support here:
webauthn-json/src/webauthn-json/extended/schema.ts
Lines 12 to 34 in 5206e71
const authenticationExtensionsClientInputsSchema: Schema = { | |
appid: optional(copyValue), | |
appidExclude: optional(copyValue), | |
uvm: optional(copyValue), | |
credProps: optional(copyValue), | |
largeBlob: optional({ | |
support: optional(copyValue), | |
read: optional(copyValue), | |
write: optional(convertValue), | |
}), | |
}; | |
const authenticationExtensionsClientOutputsSchema: Schema = { | |
appid: optional(copyValue), | |
appidExclude: optional(copyValue), | |
uvm: optional(copyValue), | |
credProps: optional(copyValue), | |
largeBlob: optional({ | |
supported: optional(copyValue), | |
blob: optional(convertValue), | |
written: optional(copyValue), | |
}), | |
}; |
webauthn-json/src/webauthn-json/extended/json.ts
Lines 12 to 36 in 5206e71
interface ExtendedExtensionsClientInputsJSON { | |
appid?: string; | |
appidExclude?: string; | |
uvm?: boolean; | |
credProps?: boolean; | |
largeBlob?: { | |
support?: "required" | "preferred"; | |
read?: boolean; | |
write?: Base64urlString; | |
}; | |
} | |
interface ExtendedAuthenticationExtensionsClientOutputsJSON { | |
appid?: boolean; | |
appidExclude?: boolean; | |
uvm?: Array<[number, number, number]>; | |
credProps?: { | |
rk: boolean; | |
}; | |
largeBlob?: { | |
supported?: boolean; | |
blob?: Base64urlString; | |
written?: boolean; | |
}; | |
} |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed