Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OsmSharp.IO.API.Tests/OsmSharp.IO.API.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
6 changes: 0 additions & 6 deletions OsmSharp.IO.API/ClientsFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ public IAuthClient CreateBasicAuthClient(string username, string password)
return new BasicAuthClient(_httpClient, _logger, _baseAddress, username, password);
}

/// <inheritdoc/>
public IAuthClient CreateOAuthClient(string consumerKey, string consumerSecret, string token, string tokenSecret)
{
return new OAuthClient(_httpClient, _logger, _baseAddress, consumerKey, consumerSecret, token, tokenSecret);
}

/// <inheritdoc/>
public IAuthClient CreateOAuth2Client(string token)
{
Expand Down
9 changes: 0 additions & 9 deletions OsmSharp.IO.API/IClientsFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ public interface IClientsFactory
/// <param name="password"></param>
/// <returns></returns>
IAuthClient CreateBasicAuthClient(string username, string password);
Comment thread
HarelM marked this conversation as resolved.
Outdated
/// <summary>
/// Creates a client that will use OAuth 1.0 credentials provided from the OAuth OSM page
/// </summary>
/// <param name="consumerKey"></param>
/// <param name="consumerSecret"></param>
/// <param name="token"></param>
/// <param name="tokenSecret"></param>
/// <returns></returns>
IAuthClient CreateOAuthClient(string consumerKey, string consumerSecret, string token, string tokenSecret);

/// <summary>
/// Creates a client that will use OAuth 2.0 credentials provided from the OAuth OSM page
Expand Down
53 changes: 0 additions & 53 deletions OsmSharp.IO.API/OAuthClient.cs

This file was deleted.

3 changes: 1 addition & 2 deletions OsmSharp.IO.API/OsmSharp.IO.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@
</PropertyGroup>

<ItemGroup>
<None Include="..\README.md" Pack="true" PackagePath=""/>
<None Include="..\README.md" Pack="true" PackagePath="" />

</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.0.2" />
<PackageReference Include="OAuth.DotNetCore" Version="3.0.1" />
<PackageReference Include="OsmSharp" Version="7.0.0-pre022" />
</ItemGroup>

Expand Down