ParseUserBecomeAsync Method (String, CancellationToken)Parse
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> BecomeAsync(
	string sessionToken,
	CancellationToken cancellationToken
)

Parameters

sessionToken
Type: SystemString
The session token to authorize with
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskParseUser
The user if authorization was successful
See Also

Reference