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 OnlineIdServiceTicket : IOnlineIdServiceTicketpublic sealed class OnlineIdServiceTicket : IOnlineIdServiceTicketPublic NotInheritable Class OnlineIdServiceTicket Implements IOnlineIdServiceTicket
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 UserIdentity.Tickets property.

Properties

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 int
Value
int int int

The error code number.

Attributes

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 OnlineIdServiceTicketRequest
Value
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

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 string
Value
string string string

A string that represents the ticket.

Attributes