[webauthn] Move optional parameters and extensions into an "options" dictionary

vijaybh has just created a new issue for 
https://github.com/w3c/webauthn:

== Move optional parameters and extensions into an "options" 
dictionary ==
>From @bifurcation 's  email to the list:

The "extensions" pattern in the WebAuthn methods seems 
uncharacteristic for a Web API. It's more common to package all of the
 optional arguments (plus any possible future ones) into an "options" 
dictionary.  See, for example:
 
https://w3c.github.io/webrtc-pc/#interface-definition
https://dev.w3.org/geo/api/spec-source.html#api_description
 
We should take all the optional stuff in these methods (timeout, 
whitelist/blacklist) and put them in an optional options dictionary 
which is the last argument to the method.

Please view or discuss this issue at 
https://github.com/w3c/webauthn/issues/84 using your GitHub account

Received on Sunday, 8 May 2016 06:53:29 UTC