UserInformationReceivedContext 类

定义

public ref class UserInformationReceivedContext : Microsoft::AspNetCore::Authentication::OpenIdConnect::BaseOpenIdConnectContext
public ref class UserInformationReceivedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^>
public class UserInformationReceivedContext : Microsoft.AspNetCore.Authentication.OpenIdConnect.BaseOpenIdConnectContext
public class UserInformationReceivedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>
type UserInformationReceivedContext = class
    inherit BaseOpenIdConnectContext
type UserInformationReceivedContext = class
    inherit RemoteAuthenticationContext<OpenIdConnectOptions>
Public Class UserInformationReceivedContext
Inherits BaseOpenIdConnectContext
Public Class UserInformationReceivedContext
Inherits RemoteAuthenticationContext(Of OpenIdConnectOptions)
继承
继承

构造函数

UserInformationReceivedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, ClaimsPrincipal, AuthenticationProperties)

初始化 UserInformationReceivedContext 的新实例。

UserInformationReceivedContext(HttpContext, OpenIdConnectOptions)

UserInformationReceived(UserInformationReceivedContext)上下文。

属性

HandledResponse

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseControlContext)
HttpContext

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseContext)
HttpContext

上下文。

(继承自 BaseContext<TOptions>)
Options

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseOpenIdConnectContext)
Options

获取与方案关联的身份验证选项。

(继承自 BaseContext<TOptions>)
Principal

获取 ClaimsPrincipal 包含用户声明的 。

(继承自 RemoteAuthenticationContext<TOptions>)
Properties

获取或设置 AuthenticationProperties

(继承自 RemoteAuthenticationContext<TOptions>)
ProtocolMessage

获取或设置 OpenIdConnectMessage

ProtocolMessage

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseOpenIdConnectContext)
Request

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseContext)
Request

请求。

(继承自 BaseContext<TOptions>)
Response

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseContext)
Response

响应。

(继承自 BaseContext<TOptions>)
Result

HandleRequestResult处理程序使用的 。

(继承自 HandleRequestContext<TOptions>)
Scheme

身份验证方案。

(继承自 BaseContext<TOptions>)
Skipped

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseControlContext)
State

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseControlContext)
Ticket

获取或设置 Ticket 当此事件指示它已处理事件时返回的 。

(继承自 BaseControlContext)
User

获取或设置用户信息有效负载。

方法

CheckEventResult(AuthenticateResult)

UserInformationReceived(UserInformationReceivedContext)上下文。

(继承自 BaseControlContext)
Fail(Exception)

指示身份验证失败。

(继承自 RemoteAuthenticationContext<TOptions>)
Fail(String)

指示身份验证失败。

(继承自 RemoteAuthenticationContext<TOptions>)
HandleResponse()

停止针对此请求的所有处理并返回到客户端。 调用方负责生成完整响应。 设置 Ticket 以触发登录。

(继承自 BaseControlContext)
HandleResponse()

停止针对此请求的所有处理并返回到客户端。 调用方负责生成完整响应。

(继承自 HandleRequestContext<TOptions>)
SkipHandler()

停止处理当前处理程序中的请求。

(继承自 HandleRequestContext<TOptions>)
SkipToNextMiddleware()

停止处理当前中间件中的请求并将控制权传递给下一个项。 不会调用 SignIn。

(继承自 BaseControlContext)
Success()

调用使用 和 Properties成功创建票证Principal

(继承自 RemoteAuthenticationContext<TOptions>)

适用于