Logs in a user with a username and password. On success, this saves the session to disk so you
can retrieve the currently logged in user using CurrentUser.
Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
public static Task<ParseUser> LogInAsync( string username, string password, CancellationToken cancellationToken )
Parameters
- username
- Type: SystemString
The username to log in with. - password
- Type: SystemString
The password to log in with. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type: TaskParseUserThe newly logged-in user.
See Also