38 references to RemoteUserAccount
Microsoft.AspNetCore.Components.WebAssembly.Authentication (32)
IRemoteAuthenticationBuilder.cs (1)
15where TAccount : RemoteUserAccount
RemoteAuthenticationBuilder.cs (1)
11where TAccount : RemoteUserAccount
RemoteAuthenticationBuilderExtensions.cs (9)
26where TAccount : RemoteUserAccount 41public static IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount> AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TAccountClaimsPrincipalFactory>( 42this IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount> builder) 44where TAccountClaimsPrincipalFactory : AccountClaimsPrincipalFactory<RemoteUserAccount> => builder.AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState, RemoteUserAccount, TAccountClaimsPrincipalFactory>(); 52public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddAccountClaimsPrincipalFactory<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TAccountClaimsPrincipalFactory>( 53this IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> builder) 54where TAccountClaimsPrincipalFactory : AccountClaimsPrincipalFactory<RemoteUserAccount> => builder.AddAccountClaimsPrincipalFactory<RemoteAuthenticationState, RemoteUserAccount, TAccountClaimsPrincipalFactory>();
Services\AccountClaimsPrincipalFactory.cs (2)
11/// Converts <see cref="RemoteUserAccount" /> into a <see cref="ClaimsPrincipal"/>. 14public class AccountClaimsPrincipalFactory<TAccount> where TAccount : RemoteUserAccount
Services\RemoteAuthenticationService.cs (2)
19/// <typeparam name="TAccount">The type of the <see cref="RemoteUserAccount" />.</typeparam> 30where TAccount : RemoteUserAccount
WebAssemblyAuthenticationServiceCollectionExtensions.cs (17)
56where TAccount : RemoteUserAccount 100where TAccount : RemoteUserAccount 118public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddOidcAuthentication( 131public static IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount> AddOidcAuthentication<[DynamicallyAccessedMembers(JsonSerialized)] TRemoteAuthenticationState>( 135return AddOidcAuthentication<TRemoteAuthenticationState, RemoteUserAccount>(services, configure); 150where TAccount : RemoteUserAccount 162public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddApiAuthorization(this IServiceCollection services) 164return AddApiAuthorizationCore<RemoteAuthenticationState, RemoteUserAccount>(services, configure: null, Assembly.GetCallingAssembly().GetName().Name!); 173public static IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount> AddApiAuthorization<[DynamicallyAccessedMembers(JsonSerialized)] TRemoteAuthenticationState>(this IServiceCollection services) 176return AddApiAuthorizationCore<TRemoteAuthenticationState, RemoteUserAccount>(services, configure: null, Assembly.GetCallingAssembly().GetName().Name!); 189where TAccount : RemoteUserAccount 200public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddApiAuthorization( 203return AddApiAuthorizationCore<RemoteAuthenticationState, RemoteUserAccount>(services, configure, Assembly.GetCallingAssembly().GetName().Name!); 213public static IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount> AddApiAuthorization<[DynamicallyAccessedMembers(JsonSerialized)] TRemoteAuthenticationState>( 217return AddApiAuthorizationCore<TRemoteAuthenticationState, RemoteUserAccount>(services, configure, Assembly.GetCallingAssembly().GetName().Name!); 231where TAccount : RemoteUserAccount 241where TAccount : RemoteUserAccount
Microsoft.Authentication.WebAssembly.Msal (6)
MsalWebAssemblyServiceCollectionExtensions.cs (6)
26public static IRemoteAuthenticationBuilder<RemoteAuthenticationState, RemoteUserAccount> AddMsalAuthentication(this IServiceCollection services, Action<RemoteAuthenticationOptions<MsalProviderOptions>> configure) 38public static IRemoteAuthenticationBuilder<TRemoteAuthenticationState, RemoteUserAccount> AddMsalAuthentication< 43return AddMsalAuthentication<TRemoteAuthenticationState, RemoteUserAccount>(services, configure); 50/// <typeparam name="TAccount">The type of the <see cref="RemoteUserAccount"/>.</typeparam> 58where TAccount : RemoteUserAccount 69where TRemoteUserAccount : RemoteUserAccount