Sign In User

Deprecated

signIn() method is deprecated and will be removed in future versions. Please use login() method instead.

<void> signIn(<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.signIn(userId, time, signature, success, failure);

Last updated