Windows Dev Center

WebAuthenticationOptions enumeration

Contains the options available to the asynchronous operation.

Syntax


var value = Windows.Security.Authentication.Web.WebAuthenticationOptions.none;

Members

The WebAuthenticationOptions enumeration has these members.

MemberValueDescription
None | none0

No options are requested.

SilentMode | silentMode1

Tells the web authentication broker to not render any UI. This option will throw an exception if used with AuthenticateAndContinue; AuthenticateSilentlyAsync, which includes this option implicitly, should be used instead.

UseTitle | useTitle2

Tells the web authentication broker to return the window title string of the webpage in the ResponseData property.

UseHttpPost | useHttpPost4

Tells the web authentication broker to return the body of the HTTP POST in the ResponseData property. For use with single sign-on (SSO) only.

UseCorporateNetwork | useCorporateNetwork8

Tells the web authentication broker to render the webpage in an app container that supports privateNetworkClientServer, enterpriseAuthentication, and sharedUserCertificate capabilities. Note the application that uses this flag must have these capabilities as well.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Flags()]
[Version(0x06020000)]

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:
© 2015 Microsoft