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

Remove ScopedCredentialParameters tuple (by unpairing type & algorithm) #143

Closed

Conversation

jcjones
Copy link
Contributor

@jcjones jcjones commented Jul 12, 2016

The procedure for normalizing algorithms and types doesn't actually use the
types. Keeping these together in an object gives a kind of flexibility, but
after consideration, I don't see much purpose in defining different algorithms
for specifically different authenticator types.

This changes the makeCredential() method to instead have a list of supported
types and a list of supported algorithms, and perform its procedure that way.

This was part of PR #142, but per comments (#142 (comment) and #142 (comment)) is now its' own standalone PR. See prior discussion for background.

The procedure for normalizing algorithms and types doesn't actually use the
types. Keeping these together in an object gives a kind of flexibility, but
after consideration, I don't see much purpose in defining different algorithms
for specifically different authenticator types.

This changes the makeCredential() method to instead have a list of supported
types and a list of supported algorithms, and perform its procedure that way.
@jcjones jcjones mentioned this pull request Jul 12, 2016
@jcjones
Copy link
Contributor Author

jcjones commented Jul 13, 2016

Review comment from before: #142 (comment)

- The <dfn>cryptoParameters</dfn> parameter supplies information about the desired properties of the credential to be created.
The sequence is ordered from most preferred to least preferred. The platform makes a best effort to create the most
- The <dfn>supportedAlgorithms</dfn> and <dfn>supportedTypes</dfn> parameters supply information about the desired properties of the credential to be created.
The sequence is ordered from most preferred to least preferred. The platform makes a best effort to create the most logical and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is meant by "most logical" in regards to a credential and its associated key pair?

@vijaybh vijaybh closed this Aug 17, 2016
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

Successfully merging this pull request may close these issues.

None yet

3 participants