Identity/BrowserID: Difference between revisions

Jump to navigation Jump to search
Line 244: Line 244:
* the email address being provisioned
* the email address being provisioned
* information about the security status of the session (user's own computer, shared computer, public computer, ...)
* information about the security status of the session (user's own computer, shared computer, public computer, ...)
* whether the authentication workflow has been invoked yet (initially <tt>false</tt>).


During a provisioning action, the User Agent MUST support the following API calls:
During a provisioning action, the User Agent MUST support the following API calls:
Line 267: Line 268:
<tt>navigator.id.raiseProvisioningFailure(string reason);</tt>
<tt>navigator.id.raiseProvisioningFailure(string reason);</tt>


The User Agent MUST interrupt this provisioning workflow and return with a failure for the given <tt>reason</tt>.
The User Agent MUST interrupt this provisioning workflow.
 
If the context indicates that the authentication workflow has already been invoked, then the User Agent SHOULD return from this workflow indicating failure to authenticate the user.
 
If the context indicates that the authentication workflow has NOT already been invoked, then the User Agent SHOULD begin the Authentication Workflow (described below).


WebIDL:
WebIDL:
668

edits

Navigation menu