UserInformationReceivedContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UserInformationReceivedContext(HttpContext, OpenIdConnectOptions)
public:
UserInformationReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^ options);
public UserInformationReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OpenIdConnectOptions options);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.UserInformationReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OpenIdConnectOptions -> Microsoft.AspNetCore.Authentication.OpenIdConnect.UserInformationReceivedContext
Public Sub New (context As HttpContext, options As OpenIdConnectOptions)
参数
- context
- HttpContext
- options
- OpenIdConnectOptions
适用于
UserInformationReceivedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, ClaimsPrincipal, AuthenticationProperties)
初始化 UserInformationReceivedContext 的新实例。
public:
UserInformationReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^ options, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public UserInformationReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.UserInformationReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.OpenIdConnect.UserInformationReceivedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As OpenIdConnectOptions, principal As ClaimsPrincipal, properties As AuthenticationProperties)
参数
- context
- HttpContext
- scheme
- AuthenticationScheme
- options
- OpenIdConnectOptions
- principal
- ClaimsPrincipal
- properties
- AuthenticationProperties