ChallengeContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 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
驗證屬性。