Skip to content

Commit

Permalink
Add markup to eliminate bikeshed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaybh committed Jan 7, 2017
1 parent e5c895f commit 42fa30f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ This interface has two methods, which are described in the following subsections

### Create a new credential (<dfn method for="WebAuthentication">makeCredential()</dfn> method) ### {#makeCredential}

<div link-for-hint="WebAuthentication/makeCredential(accountInformation, cryptoParameters, attestationChallenge, options)">
With this method, a script can request the User Agent to create a new credential of a given type and persist it to the
underlying platform, which may involve data storage managed by the browser or the OS. The user agent will prompt the user to
approve this operation. On success, the promise will be resolved with a {{ScopedCredentialInfo}} object describing the newly
Expand Down Expand Up @@ -471,10 +472,12 @@ When this method is invoked, the user agent MUST execute the following algorithm

During the above process, the user agent SHOULD show some UI to the user to guide them in the process of selecting and
authorizing an authenticator.
</div>


### Use an existing credential (<dfn method for="WebAuthentication">getAssertion()</dfn> method) ### {#getAssertion}

<div link-for-hint="WebAuthentication/getAssertion(assertionChallenge, options)">
This method is used to discover and use an existing scoped credential, with the user's consent. The script optionally specifies
some criteria to indicate what credentials are acceptable to it. The user agent and/or platform locates credentials matching the
specified criteria, and guides the user to pick one that the script should be allowed to use. The user may choose not to provide
Expand Down Expand Up @@ -556,6 +559,7 @@ When this method is invoked, the user agent MUST execute the following algorithm

During the above process, the user agent SHOULD show some UI to the user to guide them in the process of selecting and
authorizing an authenticator with which to complete the operation.
</div>


## Information about Scoped Credential (interface <dfn interface>ScopedCredentialInfo</dfn>) ## {#iface-credentialInfo}
Expand Down

0 comments on commit 42fa30f

Please sign in to comment.