Share via

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 apps. The provider of the service must allow 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 or Microsoft OneDrive, the Live Connect API hides some of the complexities of authentication tokens and make it a bit easier to write code to work with these cloud services. For more information about the Live Connect API, see Using Live Connect to personalize apps (HTML) or Using Live Connect to personalize apps (XAML).



Starts the authentication operation. You can call the methods of this class multiple times in a single application or across multiple applications at the same time. The Web authentication broker sample in the Samples gallery is an example of how to use the WebAuthenticationBroker class for single sign on (SSO) connections.


Indicates the result of the authentication operation.



Gets the type of key used for token binding.


Contains the options available to the asynchronous operation.


Contains the status of the authentication operation.

See also