AuthenticatedContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的 AuthenticatedContext。
public:
AuthenticatedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^ options);
public AuthenticatedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions options);
new Microsoft.AspNetCore.Authentication.Negotiate.AuthenticatedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions -> Microsoft.AspNetCore.Authentication.Negotiate.AuthenticatedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As NegotiateOptions)
参数
- context
- HttpContext
上下文。
- scheme
- AuthenticationScheme
身份验证方案。
- options
- NegotiateOptions
与方案关联的身份验证选项。