update project

This commit is contained in:
Frede H 2024-09-09 09:39:33 +02:00
parent 3089f6c8b7
commit 376ded4f13
No known key found for this signature in database
GPG key ID: 3629B5D280E47F0A
7 changed files with 71 additions and 39 deletions

0
AzureTokenDto.cs Normal file → Executable file
View file

3
AzureTokenFetcher.cs Normal file → Executable file
View file

@ -25,9 +25,8 @@
// ***********************************************************************
using System.Threading.Tasks;
using FCS.Lib.Azure;
namespace Inno.Azure;
namespace FCS.Lib.Azure;
/// <summary>
/// Implements IAzureTokenFetcher

0
AzureTokenHttpRequest.cs Normal file → Executable file
View file

0
AzureTokenMapper.cs Normal file → Executable file
View file

View file

@ -48,20 +48,10 @@
<Compile Include="IAzureTokenFetcher.cs" />
<Compile Include="IAzureTokenProvider.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ResponseView.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" />
<Reference Include="System.Net.Http">
<HintPath>..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Net.Http.dll</HintPath>
</Reference>
<Reference Include="System.Text.Json">
<HintPath>..\..\inno\inno.api.v2\packages\System.Text.Json.6.0.4\lib\net461\System.Text.Json.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\fcs-common\FCS.Lib.Common.csproj">
@ -73,6 +63,37 @@
<Name>FCS.Lib.Utility</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration">
<Version>8.0.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.Json">
<Version>8.0.0</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.3</Version>
</PackageReference>
<PackageReference Include="System.Net.Http">
<Version>4.3.4</Version>
</PackageReference>
<PackageReference Include="System.Runtime">
<Version>4.3.1</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>8.0.3</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Reference Include="System">
<HintPath>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http">
<HintPath>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Net.Http.dll</HintPath>
</Reference>
<Reference Include="System.Text.Json">
<HintPath>..\fcs-common\bin\Release\System.Text.Json.dll</HintPath>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\System.Text.Json.6.0.4\build\System.Text.Json.targets" Condition="Exists('..\packages\System.Text.Json.6.0.4\build\System.Text.Json.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">

38
ResponseView.cs Executable file
View file

@ -0,0 +1,38 @@
// ***********************************************************************
// Assembly : Inno.Business
// Filename : ResponseView.cs
// Author : Frede Hundewadt
// Created : 2023 12 05 09:34
//
// Last Modified By : root
// Last Modified On : 2024 03 29 12:28
// ***********************************************************************
// <copyright company="FCS">
// Copyright (C) 2023-2024 FCS Frede's Computer Service.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see [https://www.gnu.org/licenses]
// </copyright>
// <summary></summary>
// ***********************************************************************
using System.Net;
namespace FCS.Lib.Azure
{
public class ResponseView
{
public HttpStatusCode Code { get; set; }
public bool IsSuccessStatusCode { get; set; }
public string Message { get; set; } = "";
}
}

View file

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Bcl.AsyncInterfaces" version="6.0.0" targetFramework="net48" />
<package id="Microsoft.Extensions.Configuration" version="6.0.1" targetFramework="net48" />
<package id="Microsoft.Extensions.Configuration.Abstractions" version="6.0.0" targetFramework="net48" />
<package id="Microsoft.Extensions.Configuration.FileExtensions" version="6.0.0" targetFramework="net48" />
<package id="Microsoft.Extensions.Configuration.Json" version="6.0.0" targetFramework="net48" />
<package id="Microsoft.Extensions.FileProviders.Abstractions" version="6.0.0" targetFramework="net48" />
<package id="Microsoft.Extensions.FileProviders.Physical" version="6.0.0" targetFramework="net48" />
<package id="Microsoft.Extensions.FileSystemGlobbing" version="6.0.0" targetFramework="net48" />
<package id="Microsoft.Extensions.Primitives" version="6.0.0" targetFramework="net48" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net48" />
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
<package id="System.IO" version="4.3.0" targetFramework="net48" />
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
<package id="System.Runtime" version="4.3.1" targetFramework="net48" />
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net48" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net48" />
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net48" />
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net48" />
<package id="System.Text.Encodings.Web" version="6.0.0" targetFramework="net48" />
<package id="System.Text.Json" version="6.0.4" targetFramework="net48" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net48" />
</packages>