Dela via


IISOptions.AutomaticAuthentication Property

Definition

If true the middleware should set HttpContext.User. If false the middleware will only provide an identity when explicitly requested by the AuthenticationScheme. Note Windows Authentication must also be enabled in IIS for this to work.

public:
 property bool AutomaticAuthentication { bool get(); void set(bool value); };
public bool AutomaticAuthentication { get; set; }
member this.AutomaticAuthentication : bool with get, set
Public Property AutomaticAuthentication As Boolean

Property Value

Applies to