Windows.Security.Authentication.Web namespace
Enables apps to integrate with online web services without exposing a user's credentials. The web authentication broker provides a set of APIs and infrastructure for apps to use Internet authentication and authorization protocols like OAuth and OpenID.
The single sign-on (SSO) mode of the web authentication broker APIs is provided to enable users to seamlessly authenticate to a single service across multiple Windows Store apps. The provider of the service must all the user to explicitly consent to that authentication, typically by providing a "Keep me logged in" option. The provider must also make it clear to the user how their identity is being used, typically by providing a link to a privacy statement from the logon page.
The Web authentication broker sample in the Samples gallery is an example of how to use single sign on (SSO) for connections.
If your app or its companion website accesses user data in Hotmail or Microsoft SkyDrive or enables users to interact with their Windows Live Messenger buddies, the Live Connect APIs hide some of the complexities of authentication tokens and make it a bit easier to write code to work with these cloud services. For more info about the Live Connect APIs, see Live Connect.
Members
The Windows.Security.Authentication.Web namespace has these types of members:
Classes
The Windows.Security.Authentication.Web namespace has these classes.
| Class | Description |
|---|---|
| WebAuthenticationBroker | Starts the asynchronous authentication operation. |
| WebAuthenticationResult | Indicates the result of the authentication operation. |
Enumerations
The Windows.Security.Authentication.Web namespace has these enumerations.
| Enumeration | Description |
|---|---|
| WebAuthenticationOptions | Contains the options available to the asynchronous operation. |
| WebAuthenticationStatus | Contains the status of the asynchronous operation. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
- FAQ for web authentication broker
- Getting started guidance for online providers integrating with the web authentication broker APIs
- Managing user identity (JavaScript)
- Managing user identity (C#/C++/VB)
- Setting up single sign-on using the web authentication broker (JavaScript)
- Setting up single sign-on using the web authentication broker (C#/C++/VB)
- Using roaming settings to get a single sign-on experience (Windows Store apps)
- Web authentication broker sample
Build date: 12/4/2012
