net9.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class WebAssemblyAuthenticationServiceCollectionExtensions
{
public static IRemoteAuthenticationBuilder<TRemoteAuthenticationState!, TAccount!>! AddApiAuthorization<TRemoteAuthenticationState, TAccount>(this IServiceCollection! services)
where TRemoteAuthenticationState, new(), RemoteAuthenticationState!
where TAccount, RemoteUserAccount!;
}
}
.NET | 8.09.0 |
---|---|
Information specific to net9.0 | |
Assemblies | Microsoft.AspNetCore.Components.WebAssembly.Authentication , Version=8.0.10.0, PublicKeyToken=adb9793829ddae60 Microsoft.AspNetCore.Components.WebAssembly.Authentication , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.Components.WebAssembly.Authentication net8.0 |
Platform Restrictions | This API is supported on all platforms. |