Logs in a ParseUser using Facebook for authentication. If a user for the
given Facebook credentials does not already exist, a new user will be created.
The user will be logged in through Facebook's OAuth web flow using the Windows
WebAuthenticationBroker.
Namespace: Parse
Assembly: Parse.WinRT (in Parse.WinRT.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
public static Task<ParseUser> LogInAsync( IEnumerable<string> permissions, CancellationToken cancellationToken )
Parameters
- permissions
- Type: System.Collections.GenericIEnumerableString
A list of Facebook permissions to request. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type: TaskParseUserThe user that was either logged in or created.
See Also