AuthenticationSchemeOptions.ForwardForbid 属性

定义

如果已设置,则指定此方案应将 ForbidAsync 调用转发到的目标方案。 例如 Context.ForbidAsync (“ThisScheme”) => Context.ForbidAsync (“ForwardForbidValue”) ;将目标设置为当前方案以禁用转发并允许正常处理。

public:
 property System::String ^ ForwardForbid { System::String ^ get(); void set(System::String ^ value); };
public string ForwardForbid { get; set; }
public string? ForwardForbid { get; set; }
member this.ForwardForbid : string with get, set
Public Property ForwardForbid As String

属性值

适用于