Dela via


WebAuthenticationOptions Enum

Definition

Contains the options available to the asynchronous operation.

This enumeration supports a bitwise combination of its member values.

public enum class WebAuthenticationOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WebAuthenticationOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WebAuthenticationOptions
var value = Windows.Security.Authentication.Web.WebAuthenticationOptions.none
Public Enum WebAuthenticationOptions
Inheritance
WebAuthenticationOptions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

No options are requested.

SilentMode 1

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 2

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

UseHttpPost 4

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 8

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.

Applies to

See also