Skip to main content
OnlineIdServiceTicket class

Contains the ticket that is obtained after the user authenticates to this app or has provided consent to access user data stored in Live.

Note  If you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager.
 

Syntax


/* For information about creating or accessing this object, see Remarks. */

public sealed class OnlineIdServiceTicket

Public NotInheritable Class OnlineIdServiceTicket

public ref class OnlineIdServiceTicket sealed 

Members

The OnlineIdServiceTicket class has these types of members:

Properties

The OnlineIdServiceTicket class has these properties.

PropertyAccess typeDescription

ErrorCode

Read-only

If there was an error in obtaining the ticket, then the error code is captured here.

Request

Read-only

Represents the OnlineIdServiceTicketRequest for which the ticket was obtained.

Value

Read-only

The ticket.

 

Remarks

To get an instance of this object, use the UserIdentity.Tickets property.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Authentication.OnlineId
Windows::Security::Authentication::OnlineId [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Security.Authentication.OnlineId
Windows::Security::Authentication::OnlineId [C++]

Metadata

Windows.winmd

Attributes

[ MarshalingBehavior(Agile)]
[ Version(0x06020000)]

See also

Object