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

処理中に表示LogInCallbackする UI を持つ を取得または設定RenderFragmentします。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
CompletingLogOut

処理中に表示LogOutCallbackする UI を持つ を取得または設定RenderFragmentします。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
LoggingIn

処理中に表示LogInする UI を持つ を取得または設定RenderFragmentします。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
LogInFailed

処理中に表示LogInFailedする UI を持つ を取得または設定RenderFragmentします。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOut

処理中に表示LogOutする UI を持つ を取得または設定RenderFragmentします。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOutFailed

処理中に表示LogOutFailedする UI を持つ を取得または設定RenderFragmentします。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOutSucceeded

処理中に表示LogOutSucceededする UI を持つ を取得または設定RenderFragmentします。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
OnLogInSucceeded

ログイン操作が成功したときに格納されている認証状態で呼び出されるイベント コールバックを取得または設定します。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
OnLogOutSucceeded

ログアウト操作が成功したときに格納されている認証状態で呼び出されるイベント コールバックを取得または設定します。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
Registering

処理中に表示Registerする UI を持つ を取得または設定RenderFragmentします。

(継承元 RemoteAuthenticatorViewCore<TAuthenticationState>)
UserProfile

処理中に表示Profileする UI を持つ を取得または設定RenderFragmentします。

(継承元 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)

適用対象