Share via


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 ref class OnlineIdServiceTicket sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class OnlineIdServiceTicket final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class OnlineIdServiceTicket
Public NotInheritable Class OnlineIdServiceTicket
Inheritance
Object Platform::Object IInspectable OnlineIdServiceTicket
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

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

Properties

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.

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.

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.

Applies to