3 changed files
WPE.App.Authentication.Maui | ||
Business/Flow | ||
AuthClient.cs | ||
WPE.App.Authentication.Maui.csproj | ||
azure-pipelines.yml | ||
AuthClient.cs
/WPE.App.Authentication.Maui/Business/Flow/AuthClient.cs+1/WPE.App.Authentication.Maui/Business/Flow/AuthClient.cs
Add comment 15 /// </summary>
Add comment 16 /// <param name="Browser">Browser interface to actually execute login</param>
Add comment 17 /// <param name="options">Configured options for authentication</param>
Add comment 18 Plus /// <param name="SettingsProvider">Used to fetch tenant</param>
Add comment 18 19 internal class AuthClient(IBrowser Browser, IOptions<AuthenticationConfiguration> options, ISettingsProvider SettingsProvider) : IAuthClient
Add comment 19 20 {
Add comment 20 21 private AuthenticationConfiguration Options => options.Value;
WPE.App.Authentication.Maui.csproj
/WPE.App.Authentication.Maui/WPE.App.Authentication.Maui.csproj-8+8/WPE.App.Authentication.Maui/WPE.App.Authentication.Maui.csproj
Add comment 1 <Project Sdk="Microsoft.NET.Sdk">
Add comment 2
Add comment 3 <PropertyGroup>
Add comment 4 Minus <TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
Add comment 5 Minus <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
Add comment 4 Plus <TargetFrameworks>net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
Add comment 5 Plus <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
Add comment 6 <UseMaui>true</UseMaui>
Add comment 7 <SingleProject>true</SingleProject>
Add comment 8 <Nullable>enable</Nullable>
Add comment 24 <PackageIcon>icon.png</PackageIcon>
Add comment 25 <PackageReadmeFile>ReadMe.md</PackageReadmeFile>
Add comment 26 <PackageTags>WPE;Workplace Experience;infsoft</PackageTags>
Add comment 27 Minus <Version>0.2.0</Version>
Add comment 27 Plus <Version>0.3.0</Version>
Add comment 28 <GenerateDocumentationFile>true</GenerateDocumentationFile>
Add comment 29 </PropertyGroup>
Add comment 30
Add comment 31 <ItemGroup>
Add comment 32 Minus <PackageReference Include="Infsoft.WPE.App.Authentication.Base" Version="0.3.1" />
Add comment 33 Minus <PackageReference Include="Infsoft.WPE.App.DTO" Version="1.4.2" />
Add comment 32 Plus <PackageReference Include="Infsoft.WPE.App.Authentication.Base" Version="0.4.0" />
Add comment 33 Plus <PackageReference Include="Infsoft.WPE.App.DTO" Version="1.5.0" />
Add comment 34 <PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />
Add comment 35 Minus <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.5.0" />
Add comment 36 Minus <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.100" />
Add comment 37 Minus <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.100" />
Add comment 35 Plus <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.6.0" />
Add comment 36 Plus <PackageReference Include="Microsoft.Maui.Controls" Version="9.0.40" />
Add comment 37 Plus <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="9.0.40" />
Add comment 38 </ItemGroup>
Add comment 39
Add comment 40 <ItemGroup>
Add comment 5
Add comment 6 trigger:
Add comment 7 - main
Add comment 8 Minus - next
Add comment 9 8
Add comment 10 9 pool:
Add comment 11 10 vmImage: 'windows-2022'