RemoteAuthenticationHandler<TOptions>.ShouldHandleRequestAsync 方法

定义

获取一个值,该值确定当前身份验证请求是否应由 处理 HandleRequestAsync()

public:
 virtual System::Threading::Tasks::Task<bool> ^ ShouldHandleRequestAsync();
public virtual System.Threading.Tasks.Task<bool> ShouldHandleRequestAsync ();
abstract member ShouldHandleRequestAsync : unit -> System.Threading.Tasks.Task<bool>
override this.ShouldHandleRequestAsync : unit -> System.Threading.Tasks.Task<bool>
Public Overridable Function ShouldHandleRequestAsync () As Task(Of Boolean)

返回

true 如果处理操作,则为 ;否则为 false

适用于