RemoteAuthenticationBuilderExtensions.AddAccountClaimsPrincipalFactory Metodo

Definizione

Overload

AddAccountClaimsPrincipalFactory<TAccountClaimsPrincipalFactory>(IRemoteAuthenticationBuilder<RemoteAuthenticationState,RemoteUserAccount>)

Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs

Sostituisce l'oggetto esistente AccountClaimsPrincipalFactory<TAccount> con la factory utente definita da TAccountClaimsPrincipalFactory.

public static Microsoft.Extensions.DependencyInjection.IRemoteAuthenticationBuilder<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState,Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount> AddAccountClaimsPrincipalFactory<TAccountClaimsPrincipalFactory> (this Microsoft.Extensions.DependencyInjection.IRemoteAuthenticationBuilder<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState,Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount> builder) where TAccountClaimsPrincipalFactory : Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount>;

Parametri di tipo

TAccountClaimsPrincipalFactory

Nuovo tipo di factory utente.

Parametri

Restituisce

Oggetto IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount>.

Si applica a

AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState,TAccount, TAccountClaimsPrincipalFactory>(IRemoteAuthenticationBuilder<TRemoteAuthenticationState, TAccount>)

Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs

Sostituisce l'oggetto esistente AccountClaimsPrincipalFactory<TAccount> con la factory utente definita da TAccountClaimsPrincipalFactory.

public static Microsoft.Extensions.DependencyInjection.IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount> AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState,TAccount,TAccountClaimsPrincipalFactory> (this Microsoft.Extensions.DependencyInjection.IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount> builder) where TRemoteAuthenticationState : Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState, new() where TAccount : Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount where TAccountClaimsPrincipalFactory : Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<TAccount>;

Parametri di tipo

TRemoteAuthenticationState

Stato di autenticazione remota.

TAccount

Tipo di account.

TAccountClaimsPrincipalFactory

Nuovo tipo di factory utente.

Parametri

Restituisce

Oggetto IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount>.

Si applica a

AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState,TAccountClaimsPrincipalFactory>(IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount>)

Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs
Origine:
RemoteAuthenticationBuilderExtensions.cs

Sostituisce l'oggetto esistente AccountClaimsPrincipalFactory<TAccount> con la factory utente definita da TAccountClaimsPrincipalFactory.

public static Microsoft.Extensions.DependencyInjection.IRemoteAuthenticationBuilder<TRemoteAuthenticationState,Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount> AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState,TAccountClaimsPrincipalFactory> (this Microsoft.Extensions.DependencyInjection.IRemoteAuthenticationBuilder<TRemoteAuthenticationState,Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount> builder) where TRemoteAuthenticationState : Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState, new() where TAccountClaimsPrincipalFactory : Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount>;

Parametri di tipo

TRemoteAuthenticationState

Stato di autenticazione remota.

TAccountClaimsPrincipalFactory

Nuovo tipo di factory utente.

Parametri

Restituisce

IRemoteAuthenticationBuilder<TRemoteAuthenticationState,RemoteUserAccount>

Oggetto IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount>.

Si applica a