OAuthMiddleware<TOptions>.CreateHandler 方法

定义

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

protected:
 override Microsoft::AspNetCore::Authentication::AuthenticationHandler<TOptions> ^ CreateHandler();
protected override Microsoft.AspNetCore.Authentication.AuthenticationHandler<TOptions> CreateHandler ();
override this.CreateHandler : unit -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<'Options (requires 'Options :> Microsoft.AspNetCore.Builder.OAuthOptions and 'Options : (new : unit -> 'Options))>
Protected Overrides Function CreateHandler () As AuthenticationHandler(Of TOptions)

返回

一个 AuthenticationHandler<TOptions> 配置了 OAuthOptions 提供给构造函数的 。

适用于