Freigeben über


GlobalValidation Konstruktoren

Definition

Überlädt

GlobalValidation()

Initialisiert eine neue instance der GlobalValidation-Klasse.

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

Initialisiert eine neue instance der GlobalValidation-Klasse.

GlobalValidation()

Initialisiert eine neue instance der GlobalValidation-Klasse.

public GlobalValidation ();
Public Sub New ()

Gilt für:

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

Initialisiert eine neue instance der GlobalValidation-Klasse.

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)

Parameter

requireAuthentication
Nullable<Boolean>

<code>true</code> , wenn der Authentifizierungsfluss erforderlich ist, wird eine Anforderung gestellt, <andernfalls Code>false</code>.

unauthenticatedClientAction
Nullable<UnauthenticatedClientActionV2>

Die Aktion, die ausgeführt werden soll, wenn ein nicht authentifizierter Client versucht, auf die App zuzugreifen. Mögliche Werte: "RedirectToLoginPage", "AllowAnonymous", "Return401", "Return403"

redirectToProvider
String

Der Standardauthentifizierungsanbieter, der verwendet werden soll, wenn mehrere Anbieter konfiguriert sind. Diese Einstellung ist nur erforderlich, wenn mehrere Anbieter konfiguriert sind und die nicht authentifizierte Clientaktion auf "RedirectToLoginPage" festgelegt ist.

excludedPaths
IList<String>

Die Pfade, für die nicht authentifizierter Flow nicht zur Anmeldeseite umgeleitet werden würde.

Gilt für: