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