Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Windows.Security.Authentication.Web namespace

Applies to Windows and Windows Phone

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 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 Outlook.com or Microsoft OneDrive, 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 Using Live Connect to personalize apps (HTML) or Using Live Connect to personalize apps (XAML).

Members

The Windows.Security.Authentication.Web namespace has these types of members:

Classes

The Windows.Security.Authentication.Web namespace has these classes.

ClassDescription
WebAuthenticationBroker Starts the authentication operation.
WebAuthenticationResult Indicates the result of the authentication operation.

 

Enumerations

The Windows.Security.Authentication.Web namespace has these enumerations.

EnumerationDescription
WebAuthenticationOptions Contains the options available to the asynchronous operation.
WebAuthenticationStatus Contains the status of the authentication operation.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Security.Authentication.Web
Windows::Security::Authentication::Web [C++]

Metadata

Windows.winmd

See also

Authentication and user identity (JavaScript)
Authentication and user identity (C#/C++/VB)
Quickstart: Connecting to an online identity provider (JavaScript)
Quickstart: Connecting to an online identity provider (C#/C++/VB)
Windows authentication broker sample

 

 

Show:
© 2014 Microsoft