1. Home
  2. Docs
  3. Code
  4. Authorization

Authorization

The Authorization tab contains an HTML fragment that will be presented to the user during Authorization flow. The HTML page should include needed information to log in to the backend system. The page should also include verification of the login information. For example, a log-in window that includes username and password. The login page may also include a pin code the will be used to encrypt resource data.
The JavaScript client API should be used to indicate success or failure user authentication. This API will activate the Authorization flow and generate the needed tokens.

 

Authorization HTML Client API

Function Comment
authorizeSucess(user, resource_data,pin) user – string, resource_data – json , pin – optional – string
authorizeFail(user) user – string
Was this article helpful to you? Yes No

How can we help?