[w3c/webauthn] 4fad3e: Convert `makeCredential()`'s parameters into a dic...

  Branch: refs/heads/master
  Home:   https://github.com/w3c/webauthn
  Commit: 4fad3e51fbe89eb8fbc3ec12542cbd194339c8c2
      https://github.com/w3c/webauthn/commit/4fad3e51fbe89eb8fbc3ec12542cbd194339c8c2
  Author: Mike West <mkwst@google.com>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  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.


  Commit: 6dca154104884ed814f2b0ded74a959bdf28e3ef
      https://github.com/w3c/webauthn/commit/6dca154104884ed814f2b0ded74a959bdf28e3ef
  Author: Mike West <mkwst@google.com>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  fixup 'additional'


  Commit: 805891752a579d84c677f512539c34f05658cf8d
      https://github.com/w3c/webauthn/commit/805891752a579d84c677f512539c34f05658cf8d
  Author: Mike West <mkwst@google.com>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  fixup @equalsJeffH


  Commit: ae33b140cd808f849c9c238d3b703099bc3cd9df
      https://github.com/w3c/webauthn/commit/ae33b140cd808f849c9c238d3b703099bc3cd9df
  Author: Mike West <mkwst@google.com>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  fixup merge 'getAssertion()'


  Commit: 275a5522be02b102a895964ee996920831ce2491
      https://github.com/w3c/webauthn/commit/275a5522be02b102a895964ee996920831ce2491
  Author: =JeffH <Jeff.Hodges@KingsMountain.com>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  Merge pull request #399 from battre/dictionary-makecredential

Convert `makeCredential()`'s parameters into a dictionary.


Compare: https://github.com/w3c/webauthn/compare/c22e2ab8350c...275a5522be02

Received on Friday, 14 April 2017 22:45:11 UTC