Share via


GlobalValidation Constructors

Definition

Overloads

GlobalValidation()

Initializes a new instance of the GlobalValidation class.

GlobalValidation(Nullable<Boolean>, Nullable<UnauthenticatedClientActionV2>, String, IList<String>)

Initializes a new instance of the GlobalValidation class.

GlobalValidation()

Initializes a new instance of the GlobalValidation class.

public GlobalValidation ();
Public Sub New ()

Applies to

GlobalValidation(Nullable<Boolean>, Nullable<UnauthenticatedClientActionV2>, String, IList<String>)

Initializes a new instance of the GlobalValidation class.

public GlobalValidation (bool? requireAuthentication = default, Microsoft.Azure.Management.WebSites.Models.UnauthenticatedClientActionV2? unauthenticatedClientAction = default, string redirectToProvider = default, System.Collections.Generic.IList<string> excludedPaths = default);
new Microsoft.Azure.Management.WebSites.Models.GlobalValidation : Nullable<bool> * Nullable<Microsoft.Azure.Management.WebSites.Models.UnauthenticatedClientActionV2> * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.WebSites.Models.GlobalValidation
Public Sub New (Optional requireAuthentication As Nullable(Of Boolean) = Nothing, Optional unauthenticatedClientAction As Nullable(Of UnauthenticatedClientActionV2) = Nothing, Optional redirectToProvider As String = Nothing, Optional excludedPaths As IList(Of String) = Nothing)

Parameters

requireAuthentication
Nullable<Boolean>

<code>true</code> if the authentication flow is required any request is made; otherwise, <code>false</code>.

unauthenticatedClientAction
Nullable<UnauthenticatedClientActionV2>

The action to take when an unauthenticated client attempts to access the app. Possible values include: 'RedirectToLoginPage', 'AllowAnonymous', 'Return401', 'Return403'

redirectToProvider
String

The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".

excludedPaths
IList<String>

The paths for which unauthenticated flow would not be redirected to the login page.

Applies to