Windows.Security.Authentication.OnlineId
Windows.Security.Authentication.OnlineId
Windows.Security.Authentication.OnlineId
Windows.Security.Authentication.OnlineId
Namespace
Enables both apps and desktop programs to use Live to authenticate users by using their Microsoft account. After authentication, apps can get back a JSON token with an ID that can be used for that user with your application.
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.
Classes
| OnlineIdAuthenticator OnlineIdAuthenticator OnlineIdAuthenticator OnlineIdAuthenticator |
Provides an app with the ability to start the authentication request to get JavaScript Object Notation (JSON) tokens to use with your service or request tickets that can be used to get data that the user has consented to for your app using the Live ConnectAPI. NoteIf you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager. |
| OnlineIdServiceTicket OnlineIdServiceTicket OnlineIdServiceTicket OnlineIdServiceTicket |
Contains the ticket that is obtained after the user authenticates to this app or has provided consent to access user data stored in Live. NoteIf you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager. |
| 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. NoteIf you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager. |
| OnlineIdSystemAuthenticator OnlineIdSystemAuthenticator OnlineIdSystemAuthenticator OnlineIdSystemAuthenticator |
This class handles an app's attempts to acquire the local user id on a device, for use with the System Ticket feature (see Remarks). |
| OnlineIdSystemAuthenticatorForUser OnlineIdSystemAuthenticatorForUser OnlineIdSystemAuthenticatorForUser OnlineIdSystemAuthenticatorForUser |
Represents the authentication info for a single user entity on a single device (system). |
| OnlineIdSystemIdentity OnlineIdSystemIdentity OnlineIdSystemIdentity OnlineIdSystemIdentity |
Identifies the local device (system) on which the user account in question exists. |
| OnlineIdSystemTicketResult OnlineIdSystemTicketResult OnlineIdSystemTicketResult OnlineIdSystemTicketResult |
Represents the result of a call to retrieve a system ticket. |
| SignOutUserOperation SignOutUserOperation SignOutUserOperation SignOutUserOperation |
Allows users to sign out of your app. NoteIf you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager. |
| UserAuthenticationOperation UserAuthenticationOperation UserAuthenticationOperation UserAuthenticationOperation |
Asynchronously gets the user's identity and corresponding tickets and properties. NoteIf you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager. |
| UserIdentity UserIdentity UserIdentity UserIdentity |
Contains the ID, tickets, and other information associated with a user. NoteIf you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager. |
Enums
| CredentialPromptType CredentialPromptType CredentialPromptType CredentialPromptType |
Provides the ability to control when to show or hide the credential prompt user interface. This includes the user interface for the app to collect user consent to access data stored in Live. The user must see the user interface in order for the app to obtain any user data, if not app will see an error when they try to obtain user data. NoteIf you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager. |
| OnlineIdSystemTicketStatus OnlineIdSystemTicketStatus OnlineIdSystemTicketStatus OnlineIdSystemTicketStatus |
Represents the status of a call to retrieve the system ticket. |
Remarks
The Desktop Experience feature must be installed with Windows Server 2012 to experience printing in Windows Store app.