TokenResponseReceivedContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。
public ref class TokenResponseReceivedContext : Microsoft::AspNetCore::Authentication::OpenIdConnect::BaseOpenIdConnectContext
public ref class TokenResponseReceivedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^>
public class TokenResponseReceivedContext : Microsoft.AspNetCore.Authentication.OpenIdConnect.BaseOpenIdConnectContext
public class TokenResponseReceivedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>
type TokenResponseReceivedContext = class
inherit BaseOpenIdConnectContext
type TokenResponseReceivedContext = class
inherit RemoteAuthenticationContext<OpenIdConnectOptions>
Public Class TokenResponseReceivedContext
Inherits BaseOpenIdConnectContext
Public Class TokenResponseReceivedContext
Inherits RemoteAuthenticationContext(Of OpenIdConnectOptions)
- 繼承
- 繼承
-
TokenResponseReceivedContext
建構函式
屬性
| HandledResponse |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseControlContext) |
| HttpContext |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseContext) |
| HttpContext |
內容。 (繼承來源 BaseContext<TOptions>) |
| Options |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseOpenIdConnectContext) |
| Options |
取得與配置相關聯的驗證選項。 (繼承來源 BaseContext<TOptions>) |
| Principal |
取得包含 ClaimsPrincipal 使用者宣告的 。 (繼承來源 RemoteAuthenticationContext<TOptions>) |
| Properties |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 |
| Properties |
取得或設定 AuthenticationProperties。 (繼承來源 RemoteAuthenticationContext<TOptions>) |
| ProtocolMessage |
取得或設定 OpenIdConnectMessage。 |
| ProtocolMessage |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseOpenIdConnectContext) |
| Request |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseContext) |
| Request |
要求。 (繼承來源 BaseContext<TOptions>) |
| Response |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseContext) |
| Response |
回應。 (繼承來源 BaseContext<TOptions>) |
| Result |
HandleRequestResult處理常式所使用的 。 (繼承來源 HandleRequestContext<TOptions>) |
| Scheme |
驗證配置。 (繼承來源 BaseContext<TOptions>) |
| Skipped |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseControlContext) |
| State |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseControlContext) |
| Ticket |
取得或設定 Ticket ,如果這個事件發出處理事件的訊號,則傳回 。 (繼承來源 BaseControlContext) |
| TokenEndpointResponse |
取得或設定 , OpenIdConnectMessage 其中包含在權杖端點兌換程式碼之後收到的權杖。 |
方法
| CheckEventResult(AuthenticateResult) |
當 'AuthorizationCode' 在權杖端點上兌換權杖時,可以使用此內容來通知。 (繼承來源 BaseControlContext) |
| Fail(Exception) |
表示驗證失敗。 (繼承來源 RemoteAuthenticationContext<TOptions>) |
| Fail(String) |
表示驗證失敗。 (繼承來源 RemoteAuthenticationContext<TOptions>) |
| HandleResponse() |
中斷此要求的所有處理並返回用戶端。 呼叫端負責產生完整回應。 Ticket將 設定為觸發 SignIn。 (繼承來源 BaseControlContext) |
| HandleResponse() |
中斷此要求的所有處理並返回用戶端。 呼叫端負責產生完整回應。 (繼承來源 HandleRequestContext<TOptions>) |
| SkipHandler() |
停止處理目前處理常式中的要求。 (繼承來源 HandleRequestContext<TOptions>) |
| SkipToNextMiddleware() |
中斷處理目前中介軟體中的要求,並將控制權移至下一個。 不會呼叫 SignIn。 (繼承來源 BaseControlContext) |
| Success() |
使用 和 Properties 呼叫成功建立票證 Principal 。 (繼承來源 RemoteAuthenticationContext<TOptions>) |