RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions> Constructores

Definición

Sobrecargas

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>(IJSRuntime, IOptions<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>)

Inicializa una nueva instancia.

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>(IJSRuntime, IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>)

Inicializa una nueva instancia.

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>(IJSRuntime, IOptions<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>)

Inicializa una nueva instancia.

public:
 RemoteAuthenticationService(Microsoft::JSInterop::IJSRuntime ^ jsRuntime, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationOptions<TProviderOptions> ^> ^ options, Microsoft::AspNetCore::Components::NavigationManager ^ navigation, Microsoft::AspNetCore::Components::WebAssembly::Authentication::AccountClaimsPrincipalFactory<TAccount> ^ accountClaimsPrincipalFactory);
public RemoteAuthenticationService (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<TProviderOptions>> options, Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<TAccount> accountClaimsPrincipalFactory);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))> : Microsoft.JSInterop.IJSRuntime * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<'ProviderOptions>> * Microsoft.AspNetCore.Components.NavigationManager * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<'Account (requires 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount)> -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))>
Public Sub New (jsRuntime As IJSRuntime, options As IOptions(Of RemoteAuthenticationOptions(Of TProviderOptions)), navigation As NavigationManager, accountClaimsPrincipalFactory As AccountClaimsPrincipalFactory(Of TAccount))

Parámetros

jsRuntime
IJSRuntime

que IJSRuntime se va a usar para realizar operaciones de interoperabilidad de JavaScript.

options
IOptions<RemoteAuthenticationOptions<TProviderOptions>>

Las opciones que se van a pasar a la biblioteca de JavaScript subyacente que controla las operaciones de autenticación.

navigation
NavigationManager

que NavigationManager se usa para generar direcciones URL.

accountClaimsPrincipalFactory
AccountClaimsPrincipalFactory<TAccount>

AccountClaimsPrincipalFactory<TAccount> que se usa para generar el ClaimsPrincipal objeto para el usuario.

Se aplica a

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>(IJSRuntime, IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>)

Inicializa una nueva instancia.

public RemoteAuthenticationService (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<TProviderOptions>> options, Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<TAccount> accountClaimsPrincipalFactory);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))> : Microsoft.JSInterop.IJSRuntime * Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<'ProviderOptions>> * Microsoft.AspNetCore.Components.NavigationManager * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<'Account (requires 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount)> -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))>
Public Sub New (jsRuntime As IJSRuntime, options As IOptionsSnapshot(Of RemoteAuthenticationOptions(Of TProviderOptions)), navigation As NavigationManager, accountClaimsPrincipalFactory As AccountClaimsPrincipalFactory(Of TAccount))

Parámetros

jsRuntime
IJSRuntime

que IJSRuntime se va a usar para realizar operaciones de interoperabilidad de JavaScript.

options
IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>

Las opciones que se van a pasar a la biblioteca de JavaScript subyacente que controla las operaciones de autenticación.

navigation
NavigationManager

que NavigationManager se usa para generar direcciones URL.

accountClaimsPrincipalFactory
AccountClaimsPrincipalFactory<TAccount>

AccountClaimsPrincipalFactory<TAccount> que se usa para generar el ClaimsPrincipal objeto para el usuario.

Se aplica a