TwitterMiddleware.CreateHandler 方法

定义

提供 AuthenticationHandler<TOptions> 用于处理与身份验证相关的请求的对象。

protected:
 override Microsoft::AspNetCore::Authentication::AuthenticationHandler<Microsoft::AspNetCore::Builder::TwitterOptions ^> ^ CreateHandler();
protected override Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.TwitterOptions> CreateHandler ();
override this.CreateHandler : unit -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.TwitterOptions>
Protected Overrides Function CreateHandler () As AuthenticationHandler(Of TwitterOptions)

返回

AuthenticationHandler<TwitterOptions>

AuthenticationHandler<TOptions>使用 TwitterOptions 提供给构造函数的配置的。

适用于