ChallengeContext 构造函数

定义

创建一个新的 ChallengeContext

public:
 ChallengeContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^ options, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public ChallengeContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Authentication.Negotiate.ChallengeContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.Negotiate.ChallengeContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As NegotiateOptions, properties As AuthenticationProperties)

参数

context
HttpContext

上下文。

scheme
AuthenticationScheme

身份验证方案。

options
NegotiateOptions

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

properties
AuthenticationProperties

身份验证属性。

适用于