Delen via


GlobalValidation Class

Definition

The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.

public class GlobalValidation
type GlobalValidation = class
Public Class GlobalValidation
Inheritance
GlobalValidation

Constructors

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.

Properties

ExcludedPaths

Gets or sets the paths for which unauthenticated flow would not be redirected to the login page.

RedirectToProvider

Gets or sets 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".

RequireAuthentication

Gets or sets &lt;code&gt;true&lt;/code&gt; if the authentication flow is required any request is made; otherwise, &lt;code&gt;false&lt;/code&gt;.

UnauthenticatedClientAction

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

Applies to