OnlineIdServiceTicket OnlineIdServiceTicket OnlineIdServiceTicket 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

Declaration

public sealed class OnlineIdServiceTicketpublic sealed class OnlineIdServiceTicketPublic NotInheritable Class OnlineIdServiceTicketpublic sealed class OnlineIdServiceTicket

Remarks

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

Properties summary

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.

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.

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.

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; }

    Property Value

    • int
      int
      int
      int

      The error code number.

  • 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; }

    Property Value

  • 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; }

    Property Value

    • string
      string
      string
      string

      A string that represents the ticket.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Security.Authentication.OnlineId.dll