MessageReceivedContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
MessageReceivedContext(HttpContext, OpenIdConnectOptions) | |
MessageReceivedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, AuthenticationProperties) |
初始化 MessageReceivedContext 的新執行個體。 |
MessageReceivedContext(HttpContext, OpenIdConnectOptions)
public:
MessageReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^ options);
public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OpenIdConnectOptions options);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OpenIdConnectOptions -> Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext
Public Sub New (context As HttpContext, options As OpenIdConnectOptions)
參數
- context
- HttpContext
- options
- OpenIdConnectOptions
適用於
MessageReceivedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions, AuthenticationProperties)
初始化 MessageReceivedContext 的新執行個體。
public:
MessageReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^ options, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As OpenIdConnectOptions, properties As AuthenticationProperties)
參數
- context
- HttpContext
內容。
- scheme
- AuthenticationScheme
驗證配置。
- options
- OpenIdConnectOptions
與配置相關聯的驗證選項。
- properties
- AuthenticationProperties
驗證屬性。