RemoteAuthenticationBuilderExtensions
AddAccountClaimsPrincipalFactory<TAccountClaimsPrincipalFactory>(IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount>)
AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState, TAccountClaimsPrincipalFactory>(IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount>)
AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState, TAccount, TAccountClaimsPrincipalFactory>(IRemoteAuthenticationBuilder<TRemoteAuthenticationState, TAccount>)
net10.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class RemoteAuthenticationBuilderExtensions
{
public static IRemoteAuthenticationBuilder<TRemoteAuthenticationState!, RemoteUserAccount!>! AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState, TAccountClaimsPrincipalFactory>(this IRemoteAuthenticationBuilder<TRemoteAuthenticationState!, RemoteUserAccount!>! builder)
where TRemoteAuthenticationState, new(), RemoteAuthenticationState!
where TAccountClaimsPrincipalFactory, AccountClaimsPrincipalFactory<RemoteUserAccount!>!;
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.Components.WebAssembly.Authentication , Version=10.0.2.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.Components.WebAssembly.Authentication (10.0.2) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API