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<TOptions>TwitterOptions 提供给构造函数的 。

适用于