AuthenticationOptions.AutomaticAuthenticate 属性

定义

如果为 true,则身份验证中间件会更改传入的请求用户。 如果为 false,则身份验证中间件仅在 AuthenticationScheme 显式指示时才提供标识。

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

属性值

适用于