1 instantiation of RemoteAuthenticationState
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
RemoteAuthenticatorView.cs (1)
15public RemoteAuthenticatorView() => AuthenticationState = new RemoteAuthenticationState();
45 references to RemoteAuthenticationState
Microsoft.AspNetCore.Components.WebAssembly.Authentication (40)
IRemoteAuthenticationBuilder.cs (1)
14where TRemoteAuthenticationState : RemoteAuthenticationState
Models\RemoteAuthenticationContext.cs (1)
13public class RemoteAuthenticationContext<[DynamicallyAccessedMembers(JsonSerialized)] TRemoteAuthenticationState> where TRemoteAuthenticationState : RemoteAuthenticationState
Models\RemoteAuthenticationResult.cs (1)
10public class RemoteAuthenticationResult<TRemoteAuthenticationState> where TRemoteAuthenticationState : RemoteAuthenticationState
RemoteAuthenticationBuilder.cs (1)
10where TRemoteAuthenticationState : RemoteAuthenticationState
RemoteAuthenticationBuilderExtensions.cs (5)
25where TRemoteAuthenticationState : RemoteAuthenticationState, new() 43where TRemoteAuthenticationState : RemoteAuthenticationState, new() 52public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddAccountClaimsPrincipalFactory<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TAccountClaimsPrincipalFactory>( 53this IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> builder) 54where TAccountClaimsPrincipalFactory : AccountClaimsPrincipalFactory<RemoteUserAccount> => builder.AddAccountClaimsPrincipalFactory<RemoteAuthenticationState, RemoteUserAccount, TAccountClaimsPrincipalFactory>();
RemoteAuthenticatorView.cs (2)
7/// An <see cref="RemoteAuthenticatorViewCore{TAuthenticationState}"/> that uses <see cref="RemoteAuthenticationState"/> as the 10public class RemoteAuthenticatorView : RemoteAuthenticatorViewCore<RemoteAuthenticationState>
RemoteAuthenticatorViewCore.cs (1)
16public partial class RemoteAuthenticatorViewCore<[DynamicallyAccessedMembers(JsonSerialized)] TAuthenticationState> : ComponentBase where TAuthenticationState : RemoteAuthenticationState
RemoteAuthenticatorViewCore.Log.cs (1)
9public partial class RemoteAuthenticatorViewCore<TAuthenticationState> where TAuthenticationState : RemoteAuthenticationState
Services\IRemoteAuthenticationService.cs (1)
14where TRemoteAuthenticationState : RemoteAuthenticationState
Services\RemoteAuthenticationService.cs (1)
28where TRemoteAuthenticationState : RemoteAuthenticationState
WebAssemblyAuthenticationServiceCollectionExtensions.cs (25)
55where TRemoteAuthenticationState : RemoteAuthenticationState 81private static void AddAuthenticationStateProvider<[DynamicallyAccessedMembers(JsonSerialized)] TRemoteAuthenticationState>(IServiceCollection services) where TRemoteAuthenticationState : RemoteAuthenticationState 99where TRemoteAuthenticationState : RemoteAuthenticationState 113/// Adds support for authentication for SPA applications using <see cref="OidcProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 118public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddOidcAuthentication( 121return AddOidcAuthentication<RemoteAuthenticationState>(services, configure); 125/// Adds support for authentication for SPA applications using <see cref="OidcProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 133where TRemoteAuthenticationState : RemoteAuthenticationState, new() 139/// Adds support for authentication for SPA applications using <see cref="OidcProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 149where TRemoteAuthenticationState : RemoteAuthenticationState, new() 158/// Adds support for authentication for SPA applications using <see cref="ApiAuthorizationProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 162public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddApiAuthorization(this IServiceCollection services) 164return AddApiAuthorizationCore<RemoteAuthenticationState, RemoteUserAccount>(services, configure: null, Assembly.GetCallingAssembly().GetName().Name!); 168/// Adds support for authentication for SPA applications using <see cref="ApiAuthorizationProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 174where TRemoteAuthenticationState : RemoteAuthenticationState, new() 180/// Adds support for authentication for SPA applications using <see cref="ApiAuthorizationProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 188where TRemoteAuthenticationState : RemoteAuthenticationState, new() 195/// Adds support for authentication for SPA applications using <see cref="ApiAuthorizationProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 200public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddApiAuthorization( 203return AddApiAuthorizationCore<RemoteAuthenticationState, RemoteUserAccount>(services, configure, Assembly.GetCallingAssembly().GetName().Name!); 207/// Adds support for authentication for SPA applications using <see cref="ApiAuthorizationProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 215where TRemoteAuthenticationState : RemoteAuthenticationState, new() 221/// Adds support for authentication for SPA applications using <see cref="ApiAuthorizationProviderOptions"/> and the <see cref="RemoteAuthenticationState"/>. 230where TRemoteAuthenticationState : RemoteAuthenticationState, new() 240where TRemoteAuthenticationState : RemoteAuthenticationState
Microsoft.Authentication.WebAssembly.Msal (5)
MsalWebAssemblyServiceCollectionExtensions.cs (5)
26public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddMsalAuthentication(this IServiceCollection services, Action<RemoteAuthenticationOptions<MsalProviderOptions>> configure) 28return AddMsalAuthentication<RemoteAuthenticationState>(services, configure); 41where TRemoteAuthenticationState : RemoteAuthenticationState, new() 57where TRemoteAuthenticationState : RemoteAuthenticationState, new() 68where TRemoteAuthenticationState : RemoteAuthenticationState, new()