LoginService.AttemptLogin

Attempts to log the user in, firing the relevant callback if it passed or failed

(Void) AttemptLogin(userCredentials(Object) A populated UserCredentials object , successCallback(Function) The callback for a successful login attempt , failureCallback(Function) The callback for a failed login attempt )

Param

  • userCredentials

    (Object)

    A populated UserCredentials object

  • successCallback

    (Function)

    The callback for a successful login attempt

  • failureCallback

    (Function)

    The callback for a failed login attempt