Microsoft.Live.LiveAuthClient class
Used to retrieve session data from OneDrive.
Note
The following members are supported in both Windows Store apps and Windows Phone apps unless otherwise noted.
Syntax
public class LiveAuthClient
Public Class LiveAuthClient
Members
The LiveAuthClient class has these types of members:
Constructors
The LiveAuthClient class has these constructors.
Constructor |
Description |
---|---|
Initializes a new instance of the LiveAuthClient class. [Windows Store app only] |
|
Initializes a new instance of the LiveAuthClient class with the specified redirect Uniform Resource Identifier (URI). |
Events
The LiveAuthClient class has these events.
Event |
Description |
---|---|
Raised when an InitializeAsync operation is completed. [Windows Phone only] |
|
Raised when a LoginAsync operation is completed. [Windows Phone only] |
|
Raises an event when the Session property is changed. |
Methods
The LiveAuthClient class has these methods. It also inherits methods from the Object class.
Method |
Description |
---|---|
Initializes a new LiveAuthClient class. |
|
Initializes a new LiveAuthClient class with the given scopes. |
|
Initializes the Session object by loading it from cache, specifying a list of scopes and a user state. [Windows Phone only] |
|
Initiates the Microsoft account sign-in flow in silent mode. [Windows Phone only] |
|
Initiates the Microsoft account sign-in flow, or presents a Microsoft account consent page. |
|
Initiates the Microsoft account sign-in flow, or presents a Microsoft account consent page. [Windows Phone only] |
|
Signs the user out from services using Microsoft account. |
Properties
The LiveAuthClient class has these properties.
Property |
Access type |
Description |
---|---|---|
Read-only |
Gets whether the current user can be signed out of his or her Microsoft account. [Windows Store app only] |
|
Read-only |
The current session for the connected user. |
|
Read/write |
Defines the appearance of the sign-in control. [Windows Store app only] |
Requirements
Minimum supported client |
Windows8 [Windows Store apps only] |
Minimum supported server |
None supported [Windows Store apps only] |
Minimum supported phone |
Windows Phone 8 |
Namespace |
Microsoft.Live |
Assembly |
Microsoft.Live.dll |