JwtBearerMiddleware 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加到 HTTP 管道的持有者身份验证中间件组件。 此类不是由应用程序代码直接创建的,而是通过调用 IAppBuilder UseJwtBearerAuthentication 扩展方法添加的。
public ref class JwtBearerMiddleware : Microsoft::AspNetCore::Authentication::AuthenticationMiddleware<Microsoft::AspNetCore::Builder::JwtBearerOptions ^>
	public class JwtBearerMiddleware : Microsoft.AspNetCore.Authentication.AuthenticationMiddleware<Microsoft.AspNetCore.Builder.JwtBearerOptions>
	type JwtBearerMiddleware = class
    inherit AuthenticationMiddleware<JwtBearerOptions>
	Public Class JwtBearerMiddleware
Inherits AuthenticationMiddleware(Of JwtBearerOptions)
		- 继承
 
构造函数
| JwtBearerMiddleware(RequestDelegate, ILoggerFactory, UrlEncoder, IOptions<JwtBearerOptions>) | 
		 添加到 HTTP 管道的持有者身份验证组件。 此构造函数不是由应用程序代码直接调用的,而是通过调用 IAppBuilder UseJwtBearerAuthentication 扩展方法添加的。  | 
        	
属性
| AuthenticationScheme | 
		 添加到 HTTP 管道的持有者身份验证中间件组件。 此类不是由应用程序代码直接创建的,而是通过调用 IAppBuilder UseJwtBearerAuthentication 扩展方法添加的。 (继承自 AuthenticationMiddleware<TOptions>) | 
        	
| Logger | 
		 添加到 HTTP 管道的持有者身份验证中间件组件。 此类不是由应用程序代码直接创建的,而是通过调用 IAppBuilder UseJwtBearerAuthentication 扩展方法添加的。 (继承自 AuthenticationMiddleware<TOptions>) | 
        	
| Options | 
		 添加到 HTTP 管道的持有者身份验证中间件组件。 此类不是由应用程序代码直接创建的,而是通过调用 IAppBuilder UseJwtBearerAuthentication 扩展方法添加的。 (继承自 AuthenticationMiddleware<TOptions>) | 
        	
| UrlEncoder | 
		 添加到 HTTP 管道的持有者身份验证中间件组件。 此类不是由应用程序代码直接创建的,而是通过调用 IAppBuilder UseJwtBearerAuthentication 扩展方法添加的。 (继承自 AuthenticationMiddleware<TOptions>) | 
        	
方法
| CreateHandler() | 
		 由 AuthenticationMiddleware 基类调用,用于创建每个请求的处理程序。  | 
        	
| Invoke(HttpContext) | 
		 添加到 HTTP 管道的持有者身份验证中间件组件。 此类不是由应用程序代码直接创建的,而是通过调用 IAppBuilder UseJwtBearerAuthentication 扩展方法添加的。 (继承自 AuthenticationMiddleware<TOptions>) |