Skip to content

Commit

Permalink
Use AspNet.Security.OAuth.Amazon
Browse files Browse the repository at this point in the history
Use AspNet.Security.OAuth.Amazon for Amazon authentication instead of the original code that was contributed by aspnet-contrib/AspNet.Security.OAuth.Providers#157.
  • Loading branch information
martincostello committed Jun 21, 2018
1 parent c9a1dd2 commit 49c841a
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 389 deletions.
36 changes: 0 additions & 36 deletions src/LondonTravel.Site/Identity/Amazon/AmazonDefaults.cs

This file was deleted.

24 changes: 0 additions & 24 deletions src/LondonTravel.Site/Identity/Amazon/AmazonExtensions.cs

This file was deleted.

78 changes: 0 additions & 78 deletions src/LondonTravel.Site/Identity/Amazon/AmazonHandler.cs

This file was deleted.

45 changes: 0 additions & 45 deletions src/LondonTravel.Site/Identity/Amazon/AmazonOptions.cs

This file was deleted.

Expand Up @@ -5,7 +5,6 @@ namespace MartinCostello.LondonTravel.Site.Identity
{
using System;
using System.Net.Http;
using MartinCostello.LondonTravel.Site.Identity.Amazon;
using MartinCostello.LondonTravel.Site.Options;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OAuth;
Expand Down
1 change: 1 addition & 0 deletions src/LondonTravel.Site/LondonTravel.Site.csproj
Expand Up @@ -22,6 +22,7 @@
<EmbeddedResource Update="SiteResources.resx" Generator="" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AspNet.Security.OAuth.Amazon" Version="2.0.0" />
<PackageReference Include="Microsoft.ApplicationInsights.DependencyCollector" Version="2.6.4" />
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0" />
<PackageReference Include="Microsoft.AspNetCore.ApplicationInsights.HostingStartup" Version="2.1.0" />
Expand Down
4 changes: 2 additions & 2 deletions src/LondonTravel.Site/appsettings.json
Expand Up @@ -13,7 +13,7 @@
"Default": "Debug",
"System": "Error",
"Microsoft": "Error",
"MartinCostello.LondonTravel.Site.Identity.Amazon.AmazonHandler": "Error"
"AspNet.Security.OAuth.Amazon.AmazonAuthenticationHandler": "Error"
}
},
"Serilog": {
Expand All @@ -22,7 +22,7 @@
"Override": {
"System": "Error",
"Microsoft": "Error",
"MartinCostello.LondonTravel.Site.Identity.Amazon.AmazonHandler": "Error"
"AspNet.Security.OAuth.Amazon.AmazonAuthenticationHandler": "Error"
}
}
},
Expand Down

This file was deleted.

137 changes: 0 additions & 137 deletions tests/LondonTravel.Site.Tests/Identity/Amazon/AmazonHandlerTests.cs

This file was deleted.

0 comments on commit 49c841a

Please sign in to comment.