Microsoft.Live.LiveConnectSession class

Used to access the current session.

Note

The following properties are supported in both Windows Store apps and Windows Phone unless otherwise noted.

Syntax

public class LiveConnectSession
Public Class LiveConnectSession

Members

The LiveConnectSession class has these types of members:

Properties

The LiveConnectSession class has these properties.

Property

Access type

Description

AccessToken

Read-only

The access token for a signed-in and connected user.

AuthenticationToken

Read-only

The authentication token for a signed-in and connected user.

Expires

Read-only

The exact time when the session expires. This time is expressed in the number of seconds since 1 January, 1970. [Windows Phone only]

RefreshToken

Read-only

Provides a refresh token that is specific to both the user and the app, which can be used to refresh the access token. [Windows Phone only]

Scopes

Read-only

If the user has consented to one or more permissions, the list of consented scopes is included here. This includes consent that is given on the initial login. [Windows Phone only]

Requirements

Minimum supported client

Windows 8 [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