RemoteAuthenticatorView 類別

定義

RemoteAuthenticatorViewCore<TAuthenticationState> 用來 RemoteAuthenticationState 作為跨驗證作業保存的狀態。

public ref class RemoteAuthenticatorView : Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticatorViewCore<Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationState ^>
public class RemoteAuthenticatorView : Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticatorViewCore<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState>
type RemoteAuthenticatorView = class
    inherit RemoteAuthenticatorViewCore<RemoteAuthenticationState>
Public Class RemoteAuthenticatorView
Inherits RemoteAuthenticatorViewCore(Of RemoteAuthenticationState)
繼承

建構函式

RemoteAuthenticatorView()

初始化 RemoteAuthenticatorView 的新執行個體。

屬性

Action

取得或設定 RemoteAuthenticationActions 元件需要處理的動作。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
ApplicationPaths

取得或設定 RemoteAuthenticationApplicationPathsOptions 具有不同驗證頁面路徑的 。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
AuthenticationState

取得或設定 TAuthenticationState 在驗證作業期間要保留的實例。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
CompletingLoggingIn

取得或設定 RenderFragment ,其中包含正在處理時 LogInCallback 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
CompletingLogOut

取得或設定 RenderFragment ,其中包含正在處理時 LogOutCallback 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
LoggingIn

取得或設定 RenderFragment ,其中包含正在處理時 LogIn 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
LogInFailed

取得或設定 RenderFragment ,其中包含正在處理時 LogInFailed 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOut

取得或設定 RenderFragment ,其中包含正在處理時 LogOut 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOutFailed

取得或設定 RenderFragment ,其中包含正在處理時 LogOutFailed 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOutSucceeded

取得或設定 RenderFragment ,其中包含正在處理時 LogOutSucceeded 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
OnLogInSucceeded

取得或設定事件回呼,當登入作業成功時,將會以預存驗證狀態叫用。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
OnLogOutSucceeded

取得或設定事件回呼,當登出作業成功時,將會以預存驗證狀態叫用。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
Registering

取得或設定 RenderFragment ,其中包含正在處理時 Register 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
UserProfile

取得或設定 RenderFragment ,其中包含正在處理時 Profile 要顯示的 UI。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)

方法

BuildRenderTree(RenderTreeBuilder)

將元件轉譯為提供的 RenderTreeBuilder

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
DispatchExceptionAsync(Exception)

將提供的 exception 視為這個元件擲回的 。 這會導致封入 ErrorBoundary 轉換為失敗狀態。 如果沒有封入 ErrorBoundary,則會將其視為封入轉譯器中的例外狀況。

如果例外狀況發生在元件生命週期方法之外,但您想要將其視為元件生命週期方法的例外狀況,這非常有用。

(繼承來源 ComponentBase)
InvokeAsync(Action)

在相關聯的轉譯器同步處理內容上執行提供的工作專案。

(繼承來源 ComponentBase)
InvokeAsync(Func<Task>)

在相關聯的轉譯器同步處理內容上執行提供的工作專案。

(繼承來源 ComponentBase)
OnAfterRender(Boolean)

每次元件以互動方式呈現且 UI 完成更新 (之後叫用的方法,例如,在元素新增至瀏覽器 DOM) 之後。 執行時,將會填入任何 ElementReference 欄位。

此方法不會在預先呈現或伺服器端轉譯期間叫用,因為這些進程不會附加至任何即時瀏覽器 DOM,而且已在更新 DOM 之前完成。

(繼承來源 ComponentBase)
OnAfterRenderAsync(Boolean)

每次元件以互動方式呈現且 UI 完成更新 (之後叫用的方法,例如,在元素新增至瀏覽器 DOM) 之後。 執行時,將會填入任何 ElementReference 欄位。

此方法不會在預先呈現或伺服器端轉譯期間叫用,因為這些進程不會附加至任何即時瀏覽器 DOM,而且已在更新 DOM 之前完成。

請注意,元件不會在任何傳 Task 回 的 完成之後自動重新轉譯,因為這會導致無限轉譯迴圈。

(繼承來源 ComponentBase)
OnInitialized()

當元件準備好啟動時叫用的方法,已從轉譯樹狀目錄中的父代收到其初始參數。

(繼承來源 ComponentBase)
OnInitializedAsync()

當元件準備好啟動時叫用的方法,已從轉譯樹狀目錄中的父代收到其初始參數。

如果您要執行非同步作業,並想要元件在完成該作業時重新整理,請覆寫這個方法。

(繼承來源 ComponentBase)
OnParametersSet()

當元件從轉譯樹狀目錄中的父系收到參數,並已將傳入值指派給屬性時叫用的方法。

(繼承來源 ComponentBase)
OnParametersSetAsync()

當元件從轉譯樹狀目錄中的父系收到參數,並已將傳入值指派給屬性時叫用的方法。

(繼承來源 RemoteAuthenticatorViewCore<TAuthenticationState>)
SetParametersAsync(ParameterView)

在轉譯樹狀結構中設定元件父代所提供的參數。

(繼承來源 ComponentBase)
ShouldRender()

傳回旗標,指出元件是否應該轉譯。

(繼承來源 ComponentBase)
StateHasChanged()

通知元件其狀態已變更。 適用時,這會導致重新轉譯元件。

(繼承來源 ComponentBase)

明確介面實作

IComponent.Attach(RenderHandle)

RemoteAuthenticatorViewCore<TAuthenticationState> 用來 RemoteAuthenticationState 作為跨驗證作業保存的狀態。

(繼承來源 ComponentBase)
IHandleAfterRender.OnAfterRenderAsync()

RemoteAuthenticatorViewCore<TAuthenticationState> 用來 RemoteAuthenticationState 作為跨驗證作業保存的狀態。

(繼承來源 ComponentBase)
IHandleEvent.HandleEventAsync(EventCallbackWorkItem, Object)

RemoteAuthenticatorViewCore<TAuthenticationState> 用來 RemoteAuthenticationState 作為跨驗證作業保存的狀態。

(繼承來源 ComponentBase)

適用於