loginUser

Task<SessionloginUser(UserCredentials userCredentials)

Log-in the user which is identified with the given credentials.

Return

A (Bolts) task which will resolve to a session that can be used to do requests to the Gini API.

Parameters

userCredentials

The user's credentials.