- From: =JeffH via GitHub <sysbot+gh@w3.org>
- Date: Fri, 14 Apr 2017 22:44:37 +0000
- To: public-webauthn@w3.org
The following commits were just pushed by equalsJeffH to https://github.com/w3c/webauthn: * Convert `makeCredential()`'s parameters into a dictionary. Passing a single dictionary parameter into `makrCredential()` provides for greater forward compatibility, as new data can be flexibly added to the method invocation without restructuring the existing structure. It also helps developers understand what they're passing in, as each parameter will be labeled. This patch restructures the data passed into `makeCredential()` substantially, moving from four parameters to a single dictionary, and merging some existing types into a simpler structure. Most of it is straightforward; the only bit I know will be controversial is dropping `RelyingPartyUserInfo` in favor of two instances of a simpler `ScopedCredentialEntity` object: one for the RP, one for the user. Let's chat about how (un)reasonable this approach might be. by Mike West https://github.com/w3c/webauthn/commit/4fad3e51fbe89eb8fbc3ec12542cbd194339c8c2 * fixup 'additional' by Mike West https://github.com/w3c/webauthn/commit/6dca154104884ed814f2b0ded74a959bdf28e3ef * fixup @equalsJeffH by Mike West https://github.com/w3c/webauthn/commit/805891752a579d84c677f512539c34f05658cf8d * fixup merge 'getAssertion()' by Mike West https://github.com/w3c/webauthn/commit/ae33b140cd808f849c9c238d3b703099bc3cd9df * Merge pull request #399 from battre/dictionary-makecredential Convert `makeCredential()`'s parameters into a dictionary. by =JeffH https://github.com/w3c/webauthn/commit/275a5522be02b102a895964ee996920831ce2491
Received on Friday, 14 April 2017 22:44:43 UTC