sync namespaces
602edd89
Michael Schmitz
committed
succeeded
16 changed files
AppAttribute.cs
/WPE.App.Base/AppAttribute.cs-4+5
/WPE.App.Base/AppAttribute.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
AppComponent.cs
/WPE.App.Base/AppComponent.cs-4+5
/WPE.App.Base/AppComponent.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
BaseAttribute.cs
/WPE.App.Base/BaseAttribute.cs-4+5
/WPE.App.Base/BaseAttribute.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
DisplayNameAttribute.cs
/WPE.App.Base/DisplayNameAttribute.cs-4+5
/WPE.App.Base/DisplayNameAttribute.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
IAppExtensions.cs
/WPE.App.Base/IAppExtensions.cs-4+5
/WPE.App.Base/IAppExtensions.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
INameParameter.cs
/WPE.App.Base/INameParameter.cs-4+5
/WPE.App.Base/INameParameter.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
IPoIParameters.cs
/WPE.App.Base/IPoIParameters.cs-4+5
/WPE.App.Base/IPoIParameters.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
IQueryParameters.cs
/WPE.App.Base/IQueryParameters.cs-4+5
/WPE.App.Base/IQueryParameters.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
IScopeProvider.cs
/WPE.App.Base/IScopeProvider.cs-4+5
/WPE.App.Base/IScopeProvider.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
ISubscriptionParameter.cs
/WPE.App.Base/ISubscriptionParameter.cs-4+5
/WPE.App.Base/ISubscriptionParameter.cs
Add comment 1 using Infsoft.WPE.App.Authentication.Base;
Add comment 2 using Infsoft.WPE.App.Authentication.Base.Models;
Add comment 3 Plus  using Infsoft.WPE.App.Authentication.Base.Business;
Add comment 3 4 using Infsoft.WPE.App.Authentication.Maui.Business;
Add comment 4 5 using Infsoft.WPE.App.Authentication.Maui.Business.Flow;
Add comment 5 6 using Infsoft.WPE.App.Authentication.Maui.Business.Token;
Add comment 24 25 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 25 26 /// <returns>ServiceCollection to chain calls</returns>
Add comment 26 27 internal static IServiceCollection AddNativeAuthentication(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) =>
Add comment 27 Minus   services.AddNativeAuthentication<NativeAuthenticationStateProvider>(authConfig, subscriptionKeyConfig);
Add comment 28 Plus   services.AddNativeAuthentication<NoOpTenantResolver>(authConfig, subscriptionKeyConfig);
Add comment 28 29
Add comment 29 30 /// <summary>
Add comment 30 31 /// Add all required authentication services for a native login (using web authenticator) and the subscriptionKey handler
Add comment 31 32 /// </summary>
Add comment 32 Minus   /// <typeparam name="TAuthenticationStateProvider">Allows for a customized implementation</typeparam>
Add comment 33 Plus   /// <typeparam name="TTenantResolver">Allows for tenant code resolution</typeparam>
Add comment 33 34 /// <param name="services">Service collection to add to</param>
Add comment 34 35 /// <param name="authConfig">Allows the configuration of token request endpoints</param>
Add comment 35 36 /// <param name="subscriptionKeyConfig">Allows tzhe configuration of hosts to set a subscriptionKey for</param>
Add comment 36 37 /// <returns>ServiceCollection to chain calls</returns>
Add comment 37 Minus   internal static IServiceCollection AddNativeAuthentication<TAuthenticationStateProvider>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TAuthenticationStateProvider : NativeAuthenticationStateProvider
Add comment 38 Plus   internal static IServiceCollection AddNativeAuthentication<TTenantResolver>(this IServiceCollection services, Action<AuthenticationConfiguration> authConfig, Action<SubscriptionKeyConfiguration> subscriptionKeyConfig) where TTenantResolver : class, ITenantResolver
Add comment 38 39 {
Add comment 39 40 services.AddOptions();
Add comment 40 41 services.AddAuthorizationCore();
Add comment 49 50 #endif
Add comment 50 51
Add comment 51 52 services.AddSingleton<IAuthClient, AuthClient>();
Add comment 52 Minus   services.AddBaseAuthentication<TAuthenticationStateProvider>();
Add comment 53 Plus   services.AddBaseAuthentication<NativeAuthenticationStateProvider, TTenantResolver>();
Add comment 53 54
Add comment 54 55 services.AddTransient<AuthorizationMessageHandler>();
Add comment 55 56 services.Configure(authConfig);
NavEntryAttribute.cs
/WPE.App.Base/NavEntryAttribute.cs
/WPE.App.Base/NavEntryAttribute.cs
PoIAttribute.cs
/WPE.App.Base/PoIAttribute.cs
/WPE.App.Base/PoIAttribute.cs
RouteMapping.cs
/WPE.App.Base/RouteMapping.cs
/WPE.App.Base/RouteMapping.cs
TileAttribute.cs
/WPE.App.Base/TileAttribute.cs
/WPE.App.Base/TileAttribute.cs
WPE.App.Base.csproj
/WPE.App.Base/WPE.App.Base.csproj
/WPE.App.Base/WPE.App.Base.csproj
azure-pipelines.yml
/azure-pipelines.yml
/azure-pipelines.yml