RemoteAuthenticatorView クラス

定義

認証操作間で永続化される状態として RemoteAuthenticationState を使用する RemoteAuthenticatorViewCore<TAuthenticationState>

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>)
Assets

アプリケーションの ResourceAssetCollection を取得します。

(継承元 ComponentBase)
AssignedRenderMode

このコンポーネントに割り当てられている IComponentRenderMode を取得します。

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

コンポーネントが実行されている RendererInfo を取得します。

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

認証操作間で永続化される状態として RemoteAuthenticationState を使用する RemoteAuthenticatorViewCore<TAuthenticationState>

(継承元 ComponentBase)
IHandleAfterRender.OnAfterRenderAsync()

認証操作間で永続化される状態として RemoteAuthenticationState を使用する RemoteAuthenticatorViewCore<TAuthenticationState>

(継承元 ComponentBase)
IHandleEvent.HandleEventAsync(EventCallbackWorkItem, Object)

認証操作間で永続化される状態として RemoteAuthenticationState を使用する RemoteAuthenticatorViewCore<TAuthenticationState>

(継承元 ComponentBase)

適用対象