Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PasswordCredential #2

Open
AxelNennker opened this issue Apr 19, 2015 · 0 comments
Open

Implement PasswordCredential #2

AxelNennker opened this issue Apr 19, 2015 · 0 comments

Comments

@AxelNennker
Copy link
Owner

As a website developer I want to create a new PasswordCredential object by writing e.g.:

var credential = new PasswordCredential("JaneDoe98","MfPeRQq5P3yVry68Q4KZMMhB");

Please note the difference to the current spec which requires an objects as parameter:

var credential = new PasswordCredential({
  "id": "JaneDoe98",
  "password": "MfPeRQq5P3yVry68Q4KZMMhB"
});

This is not possible with the current WebIDL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant