PropertiesContext<TOptions> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建構函式。
protected:
PropertiesContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, TOptions options, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected PropertiesContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
protected PropertiesContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Authentication.PropertiesContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)> : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * 'Options * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.PropertiesContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)>
Protected Sub New (context As HttpContext, scheme As AuthenticationScheme, options As TOptions, properties As AuthenticationProperties)
參數
- context
- HttpContext
內容。
- scheme
- AuthenticationScheme
驗證配置。
- options
- TOptions
與配置相關聯的驗證選項。
- properties
- AuthenticationProperties
驗證屬性。