JwtBearerChallengeContext 类   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对 PropertiesContext<TOptions> 使用 JWT 持有者进行身份验证的资源的访问受到质询时。
public ref class JwtBearerChallengeContext : Microsoft::AspNetCore::Authentication::JwtBearer::BaseJwtBearerContextpublic ref class JwtBearerChallengeContext : Microsoft::AspNetCore::Authentication::PropertiesContext<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^>public class JwtBearerChallengeContext : Microsoft.AspNetCore.Authentication.JwtBearer.BaseJwtBearerContextpublic class JwtBearerChallengeContext : Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>type JwtBearerChallengeContext = class
    inherit BaseJwtBearerContexttype JwtBearerChallengeContext = class
    inherit PropertiesContext<JwtBearerOptions>Public Class JwtBearerChallengeContext
Inherits BaseJwtBearerContextPublic Class JwtBearerChallengeContext
Inherits PropertiesContext(Of JwtBearerOptions)- 继承
- 继承
构造函数
属性
方法
| CheckEventResult(AuthenticateResult) | 对 PropertiesContext<TOptions> 使用 JWT 持有者进行身份验证的资源的访问受到质询时。(继承自 BaseControlContext) | 
| HandleResponse() | 跳过此质询的任何默认逻辑。 | 
| HandleResponse() | 停止针对此请求的所有处理并返回到客户端。 调用方负责生成完整响应。 设置 以 Ticket 触发 SignIn。(继承自 BaseControlContext) | 
| SkipToNextMiddleware() | 停止处理当前中间件中的请求并将控制权传递给下一个项。 不会调用 SignIn。(继承自 BaseControlContext) |