MessageReceivedContext 构造函数

定义

重载

MessageReceivedContext(HttpContext, OpenIdConnectOptions)
MessageReceivedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, AuthenticationProperties)

初始化 MessageReceivedContext 的新实例。

MessageReceivedContext(HttpContext, OpenIdConnectOptions)

public:
 MessageReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^ options);
public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OpenIdConnectOptions options);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OpenIdConnectOptions -> Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext
Public Sub New (context As HttpContext, options As OpenIdConnectOptions)

参数

context
HttpContext

适用于

MessageReceivedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, AuthenticationProperties)

Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs

初始化 MessageReceivedContext 的新实例。

public:
 MessageReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^ options, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As OpenIdConnectOptions, properties As AuthenticationProperties)

参数

context
HttpContext

上下文。

scheme
AuthenticationScheme

身份验证方案。

options
OpenIdConnectOptions

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

properties
AuthenticationProperties

身份验证属性。

适用于