OnlineIdServiceTicket OnlineIdServiceTicket OnlineIdServiceTicket OnlineIdServiceTicket Class

Definition

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.

public sealed class OnlineIdServiceTicketpublic sealed class OnlineIdServiceTicketPublic NotInheritable Class OnlineIdServiceTicketpublic sealed class OnlineIdServiceTicket
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Properties

ErrorCode ErrorCode ErrorCode ErrorCode

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

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.

public int ErrorCode { get; }public int ErrorCode { get; }Public ReadOnly Property ErrorCode As intpublic int ErrorCode { get; }
Value
int int int int

The error code number.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Request Request Request Request

Represents the OnlineIdServiceTicketRequest for which the ticket was obtained.

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.

public OnlineIdServiceTicketRequest Request { get; }public OnlineIdServiceTicketRequest Request { get; }Public ReadOnly Property Request As OnlineIdServiceTicketRequestpublic OnlineIdServiceTicketRequest Request { get; }
Value
OnlineIdServiceTicketRequest OnlineIdServiceTicketRequest OnlineIdServiceTicketRequest OnlineIdServiceTicketRequest

Provides the ability for an app to specify the service and policy that is used to authenticate a Live user to obtain identity properties and tickets.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Value Value Value Value

The ticket.

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.

public string Value { get; }public string Value { get; }Public ReadOnly Property Value As stringpublic string Value { get; }
Value
string string string string

A string that represents the ticket.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)