API Tutorial Lesson 04 - Handling user login and logout

Once the user's password has been created, he can now log in and off to our cloud-based time-limited transaction manager, through calls of the 'UserLoginAllow' and 'UserLoginCommit' APIs. A user being logged in is also a time-limited transaction on our transaction manager: its duration is the period of time the user will remain logged.

That is the reason why, as depicted on this lesson's figure, the 'UserLoginAllow' API requires not only the users' e-mail address and his password, but the duration of login. If the call succeeds, the operation handle returned will serve as proof of login, but only until the specified duration is reached, or 'UserLoginCommit' is called (whichever of these two events happens earlier).

US Patent Requested