RemoteAuthenticatorView Class

Definition

An RemoteAuthenticatorViewCore<TAuthenticationState> that uses RemoteAuthenticationState as the state to be persisted across authentication operations.

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

Constructors

RemoteAuthenticatorView()

Initializes a new instance of RemoteAuthenticatorView.

Properties

Action

Gets or sets the RemoteAuthenticationActions action the component needs to handle.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
ApplicationPaths

Gets or sets the RemoteAuthenticationApplicationPathsOptions with the paths to different authentication pages.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
AuthenticationState

Gets or sets the TAuthenticationState instance to be preserved during the authentication operation.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
CompletingLoggingIn

Gets or sets a RenderFragment with the UI to display while LogInCallback is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
CompletingLogOut

Gets or sets a RenderFragment with the UI to display while LogOutCallback is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
LoggingIn

Gets or sets a RenderFragment with the UI to display while LogIn is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
LogInFailed

Gets or sets a RenderFragment with the UI to display while LogInFailed is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOut

Gets or sets a RenderFragment with the UI to display while LogOut is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOutFailed

Gets or sets a RenderFragment with the UI to display while LogOutFailed is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
LogOutSucceeded

Gets or sets a RenderFragment with the UI to display while LogOutSucceeded is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
OnLogInSucceeded

Gets or sets an event callback that will be invoked with the stored authentication state when a log in operation succeeds.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
OnLogOutSucceeded

Gets or sets an event callback that will be invoked with the stored authentication state when a log out operation succeeds.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
Registering

Gets or sets a RenderFragment with the UI to display while Register is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
UserProfile

Gets or sets a RenderFragment with the UI to display while Profile is being handled.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
DispatchExceptionAsync(Exception)

Treats the supplied exception as being thrown by this component. This will cause the enclosing ErrorBoundary to transition into a failed state. If there is no enclosing ErrorBoundary, it will be regarded as an exception from the enclosing renderer.

This is useful if an exception occurs outside the component lifecycle methods, but you wish to treat it the same as an exception from a component lifecycle method.

(Inherited from ComponentBase)
InvokeAsync(Action)

Executes the supplied work item on the associated renderer's synchronization context.

(Inherited from ComponentBase)
InvokeAsync(Func<Task>)

Executes the supplied work item on the associated renderer's synchronization context.

(Inherited from ComponentBase)
OnAfterRender(Boolean)

Method invoked after each time the component has rendered interactively and the UI has finished updating (for example, after elements have been added to the browser DOM). Any ElementReference fields will be populated by the time this runs.

This method is not invoked during prerendering or server-side rendering, because those processes are not attached to any live browser DOM and are already complete before the DOM is updated.

(Inherited from ComponentBase)
OnAfterRenderAsync(Boolean)

Method invoked after each time the component has been rendered interactively and the UI has finished updating (for example, after elements have been added to the browser DOM). Any ElementReference fields will be populated by the time this runs.

This method is not invoked during prerendering or server-side rendering, because those processes are not attached to any live browser DOM and are already complete before the DOM is updated.

Note that the component does not automatically re-render after the completion of any returned Task, because that would cause an infinite render loop.

(Inherited from ComponentBase)
OnInitialized()

Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

(Inherited from ComponentBase)
OnInitializedAsync()

Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.

(Inherited from ComponentBase)
OnParametersSet()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

(Inherited from ComponentBase)
OnParametersSetAsync()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

(Inherited from RemoteAuthenticatorViewCore<TAuthenticationState>)
SetParametersAsync(ParameterView)

Sets parameters supplied by the component's parent in the render tree.

(Inherited from ComponentBase)
ShouldRender()

Returns a flag to indicate whether the component should render.

(Inherited from ComponentBase)
StateHasChanged()

Notifies the component that its state has changed. When applicable, this will cause the component to be re-rendered.

(Inherited from ComponentBase)

Explicit Interface Implementations

IComponent.Attach(RenderHandle) (Inherited from ComponentBase)
IHandleAfterRender.OnAfterRenderAsync() (Inherited from ComponentBase)
IHandleEvent.HandleEventAsync(EventCallbackWorkItem, Object) (Inherited from ComponentBase)

Applies to