GoogleMiddleware.CreateHandler 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
AuthenticationHandler<TOptions>提供用于处理与身份验证相关的请求的 对象。
protected:
override Microsoft::AspNetCore::Authentication::AuthenticationHandler<Microsoft::AspNetCore::Builder::GoogleOptions ^> ^ CreateHandler();
protected override Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.GoogleOptions> CreateHandler();
override this.CreateHandler : unit -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.GoogleOptions>
Protected Overrides Function CreateHandler () As AuthenticationHandler(Of GoogleOptions)
返回
一个 AuthenticationHandler<TOptions> 配置了 GoogleOptions 提供给构造函数的 。