Log In User

<void> login(<String> userId, <Integer> timestamp, <String> signature, <Function> succes, <Function> failure)

Sign in user to submit data which requires verified user.

  • Only characters from this set are allowed for user id: 0-9a-zA-Z.

  • Signature must be all uppercase.

var userId    = 'test-user-id',
    time      = LViS.Date.now(),
    signature = 'THIS-IS-SIGNATURE',
    success   = function () {},
    failure   = function () {};

LViS.User.login(userId, time, signature, success, failure);