LiveAuthClient.InitializeAsync(IEnumerable<String>) method
Initializes a new LiveAuthClient object with the given scopes.
Syntax
public Task<LiveLoginResult> InitializeAsync(
IEnumerable<String> scopes
)
Public Function InitializeAsync(
scopes As IEnumerable<String>
) As Task<LiveLoginResult>
Parameters
scopes
Type: IEnumerable<String>
The list of scopes.
Return value
Type: Task<LiveLoginResult>
The user's login status and the session object.
Note
Doesn't return a value on the Windows Phone.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone 8 |
Namespace |
Microsoft.Live |
Assembly |
Microsoft.Live.dll |