Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Oct 26, 2023
1 parent d819e8c commit 5a65812
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
1 change: 1 addition & 0 deletions nuget/Auth0.OidcClient.MAUI.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<releaseNotes></releaseNotes>
<copyright>Copyright 2017-2023 Auth0, Inc.</copyright>
<tags>Auth0 OIDC MAUI</tags>
<readme>README.md</readme>
<dependencies>
<group targetFramework="net6.0-android29.0">
<dependency id="Auth0.OidcClient.Core" version="3.4.1" />
Expand Down
4 changes: 2 additions & 2 deletions src/Auth0.OidcClient.MAUI.Platforms.Windows/StateModifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal class StateModifier
internal static Uri MoveStateToReturnTo(Uri uri)
{
var query = System.Web.HttpUtility.ParseQueryString(uri.Query);
// The state QueryString as generated by WinUIEx
// The state QueryString
var state = query["state"];
// The original returnTo as configured externally
var returnTo = query["returnTo"];
Expand All @@ -36,7 +36,7 @@ internal static Uri MoveStateToReturnTo(Uri uri)
// Set the query again on the logout url
uriBuilder.Query = query.ToString() ?? string.Empty;

// Return the Uri so it can be used internally by WinUIEx to start the process and open the browser
// Return the Uri
return uriBuilder.Uri;
}

Expand Down
22 changes: 3 additions & 19 deletions src/Auth0.OidcClient.MAUI/Auth0.OidcClient.MAUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,10 @@
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>

<PackageReadmeFile>README.md</PackageReadmeFile>

<RootNamespace>Auth0.OidcClient</RootNamespace>
<AssemblyName>Auth0.OidcClient</AssemblyName>
<PackageId>Auth0.OidcClient.MAUI</PackageId>
<Product>Auth0.OidcClient</Product>
<AssemblyTitle>Auth0.OidcClient.MAUI</AssemblyTitle>
<Version>1.0.0-beta.0</Version>
<Description>Auth0 OIDC Client for MAUI apps</Description>
<Authors>Auth0</Authors>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://auth0.github.io/auth0-oidc-client-net/</PackageProjectUrl>
<PackageIcon>Auth0Icon.png</PackageIcon>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Copyright>Copyright 2023 Auth0, Inc.</Copyright>
<PackageTags>Auth0 OIDC MAUI</PackageTags>
<RepositoryUrl>https://github.com/auth0/auth0-oidc-client-net</RepositoryUrl>
<RepositoryType>git</RepositoryType>

</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
<GenerateDocumentationFile>false</GenerateDocumentationFile>
Expand All @@ -42,9 +29,7 @@
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-windows10.0.19041.0'">
<PackageReference Include="WinUIEx" Version="2.2.0">
</PackageReference>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230502000" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.3.230502000" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-windows10.0.19041.0'">
<ProjectReference Include="..\Auth0.OidcClient.MAUI.Platforms.Windows\Auth0.OidcClient.MAUI.Platforms.Windows.csproj" />
Expand All @@ -56,7 +41,6 @@
<None Remove="Platforms\MacCatalyst\" />
<None Remove="Platforms\iOS\" />
<None Remove="Platforms\Android\" />
<None Remove="WinUIExEx\" />
</ItemGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
Expand Down

0 comments on commit 5a65812

Please sign in to comment.