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 OnlineIdServiceTicket : IOnlineIdServiceTicketpublic sealed class OnlineIdServiceTicket : IOnlineIdServiceTicketPublic NotInheritable Class OnlineIdServiceTicket Implements IOnlineIdServiceTicket// You can use this class in JavaScript.
- Attributes
| 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 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// You can use this property in JavaScript.
- 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 OnlineIdServiceTicketRequest// You can use this property in JavaScript.
- 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.
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 : PlatForm::String Value { get; }public string Value { get; }Public ReadOnly Property Value As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
A string that represents the ticket.