net9.0
namespace Microsoft.AspNetCore.Components.WebAssembly.Authentication
{
    public class RemoteAuthenticationService<TRemoteAuthenticationState, TAccount, TProviderOptions> : AuthenticationStateProvider, IAccessTokenProvider, IRemoteAuthenticationService<TRemoteAuthenticationState!>
        where TRemoteAuthenticationState, RemoteAuthenticationState!
        where TAccount, RemoteUserAccount!
        where TProviderOptions, new()
    {
        [Obsolete("Use the constructor RemoteAuthenticationService(IJSRuntime,IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>,NavigationManager,AccountClaimsPrincipalFactory<TAccount>,ILogger<RemoteAuthenticationService<TRemoteAuthenticationState, TAccount, TProviderOptions>>) instead.")]
        public RemoteAuthenticationService(IJSRuntime! jsRuntime, IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>!>! options, NavigationManager! navigation, AccountClaimsPrincipalFactory<TAccount!>! accountClaimsPrincipalFactory);
    }
}
nuget.org
0.0 %
Reference this API
.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 Microsoft.AspNetCore.Components.WebAssembly.Authentication.

Package Microsoft.AspNetCore.Components.WebAssembly.Authentication (8.0.10) net8.0
Obsolete Use the constructor RemoteAuthenticationService(IJSRuntime,IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>,NavigationManager,AccountClaimsPrincipalFactory<TAccount>,ILogger<RemoteAuthenticationService<TRemoteAuthenticationState, TAccount, TProviderOptions>>) instead.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/10/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙