-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from aguacongas/develop
Remove callback path check
- Loading branch information
Showing
13 changed files
with
120 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,53 +15,53 @@ environment: | |
GH_TOKEN: | ||
secure: 0NJdORJRFjpB0dwUYv7bVNsbkldkoBhnvWik/CTOwAF/k9kP+/uTWMFnDcpEpt8E | ||
init: | ||
- cmd: git config --global core.autocrlf true | ||
- cmd: git config --global core.autocrlf true | ||
install: | ||
- sh: wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb | ||
- sh: sudo dpkg -i packages-microsoft-prod.deb | ||
- sh: sudo apt-get -y install apt-transport-https | ||
- sh: sudo apt-get update | ||
- sh: sudo apt-get -y install dotnet-sdk-2.2 | ||
- sh: sudo apt -y install nuget | ||
- sh: nuget install GitVersion.CommandLine -ExcludeVersion | ||
- sh: mono GitVersion.CommandLine/tools/GitVersion.exe /l console /output buildserver | ||
- ps: if ($isWindows) { .\dotnet-install.ps1 -Version 2.2.100 } | ||
- cmd: nuget install redis-64 -excludeversion | ||
- cmd: redis-64\tools\redis-server.exe --service-install | ||
- cmd: redis-64\tools\redis-server.exe --service-start | ||
- cmd: gitversion /l console /output buildserver | ||
- cmd: nuget install ReportGenerator -ExcludeVersion | ||
- ps: ./appveyorinit.ps1 | ||
- sh: wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb | ||
- sh: sudo dpkg -i packages-microsoft-prod.deb | ||
- sh: sudo apt-get -y install apt-transport-https | ||
- sh: sudo apt-get update | ||
- sh: sudo apt-get -y install dotnet-sdk-2.2 | ||
- sh: sudo apt -y install nuget | ||
- sh: nuget install GitVersion.CommandLine -ExcludeVersion | ||
- sh: mono GitVersion.CommandLine/tools/GitVersion.exe /l console /output buildserver | ||
- ps: if ($isWindows) { .\dotnet-install.ps1 -Version 2.2.100 } | ||
- cmd: nuget install redis-64 -excludeversion | ||
- cmd: redis-64\tools\redis-server.exe --service-install | ||
- cmd: redis-64\tools\redis-server.exe --service-start | ||
- cmd: gitversion /l console /output buildserver | ||
- cmd: nuget install ReportGenerator -ExcludeVersion | ||
- ps: ./appveyorinit.ps1 | ||
build_script: | ||
- ps: ./build.ps1 | ||
- ps: ./build.ps1 | ||
test_script: | ||
- cmd: publish.cmd | ||
- cmd: publish.cmd | ||
artifacts: | ||
- path: artifacts/**/*.nupkg | ||
name: nuget | ||
- path: artifacts/**/*.nupkg | ||
name: nuget | ||
deploy: | ||
- provider: NuGet | ||
api_key: | ||
secure: 23wPDdRicGt2vZuJ8vd9TRBKmqjHkx5WjzZmKvyxd5j0fNPedjUScRTj/rT0ObJa | ||
on: | ||
branch: | ||
- /preview\/*/ | ||
- /release\/*/ | ||
CI_WINDOWS: true | ||
- provider: GitHub | ||
auth_token: $(GH_TOKEN) | ||
draft: true | ||
prerelease: true | ||
release: $(Version) | ||
on: | ||
branch: | ||
- /preview*/ | ||
CI_WINDOWS: true | ||
- provider: NuGet | ||
api_key: | ||
secure: 23wPDdRicGt2vZuJ8vd9TRBKmqjHkx5WjzZmKvyxd5j0fNPedjUScRTj/rT0ObJa | ||
on: | ||
branch: | ||
- /preview\/*/ | ||
- /release\/*/ | ||
CI_WINDOWS: true | ||
- provider: GitHub | ||
auth_token: $(GH_TOKEN) | ||
draft: true | ||
prerelease: true | ||
release: $(Version) | ||
on: | ||
branch: | ||
- /preview*/ | ||
CI_WINDOWS: true | ||
for: | ||
- | ||
branches: | ||
only: | ||
- master | ||
- master | ||
on_success: | ||
- cmd: git config --global credential.helper store | ||
- ps: if ($isWindows) { Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GH_TOKEN):[email protected]`n" } | ||
|
@@ -77,21 +77,17 @@ for: | |
- | ||
branches: | ||
only: | ||
- /release>\/*/ | ||
- /release>\/*/ | ||
on_success: | ||
- cmd: semantic-release -b %APPVEYOR_REPO_BRANCH% | ||
- cmd: git config --global credential.helper store | ||
- ps: if ($isWindows) { Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GH_TOKEN):[email protected]`n" } | ||
- cmd: git config --global user.email "[email protected]" | ||
- cmd: git config --global user.name "Aguacongas" | ||
- cmd: git checkout gh-pages | ||
- cmd: git stash | ||
- cmd: mkdir %Version% | ||
- cmd: move coverage\docs %Version% | ||
- cmd: git add %Version% | ||
- cmd: git commit %Version% -m "Appveyor build succed %APPVEYOR_BUILD_NUMBER%" | ||
- cmd: git push | ||
- | ||
branches: | ||
except: | ||
- master | ||
- cmd: semantic-release -b %APPVEYOR_REPO_BRANCH% | ||
- cmd: git config --global credential.helper store | ||
- ps: if ($isWindows) { Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GH_TOKEN):[email protected]`n" } | ||
- cmd: git config --global user.email "[email protected]" | ||
- cmd: git config --global user.name "Aguacongas" | ||
- cmd: git checkout gh-pages | ||
- cmd: git stash | ||
- cmd: mkdir %Version% | ||
- cmd: move coverage\docs %Version% | ||
- cmd: git add %Version% | ||
- cmd: git commit %Version% -m "Appveyor build succed %APPVEYOR_BUILD_NUMBER%" | ||
- cmd: git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
sample/Aguacongas.AspNetCore.Authentication.Sample/Controllers/HomeController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
sample/Aguacongas.AspNetCore.Authentication.Sample/SchemeChangeSubscriberSample.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/Aguacongas.AspNetCore.Authentication.EntityFramework/ApplicationBuilderExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Project: aguacongas/DymamicAuthProviders | ||
// Copyright (c) 2018 @Olivier Lefebvre | ||
using Aguacongas.AspNetCore.Authentication.EntityFramework; | ||
|
||
namespace Microsoft.AspNetCore.Builder | ||
{ | ||
/// <summary> | ||
/// IApplicationBuilder extensions | ||
/// </summary> | ||
public static class ApplicationBuilderExtensions | ||
{ | ||
/// <summary> | ||
/// Loads the dynamic authentication configuration. | ||
/// </summary> | ||
/// <param name="builder">The builder.</param> | ||
/// <returns></returns> | ||
public static IApplicationBuilder LoadDynamicAuthenticationConfiguration(this IApplicationBuilder builder) | ||
{ | ||
builder.ApplicationServices.LoadDynamicAuthenticationConfiguration<SchemeDefinition>(); | ||
return builder; | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/Aguacongas.AspNetCore.Authentication.EntityFramework/SchemeDefinition.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
...acongas.AspNetCore.Authentication.Redis/Aguacongas.AspNetCore.Authentication.Redis.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/Aguacongas.AspNetCore.Authentication.Redis/ApplicationBuilderExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Project: aguacongas/DymamicAuthProviders | ||
// Copyright (c) 2018 @Olivier Lefebvre | ||
using Aguacongas.AspNetCore.Authentication.Redis; | ||
|
||
namespace Microsoft.AspNetCore.Builder | ||
{ | ||
/// <summary> | ||
/// IApplicationBuilder extensions | ||
/// </summary> | ||
public static class ApplicationBuilderExtensions | ||
{ | ||
/// <summary> | ||
/// Loads the dynamic authentication configuration. | ||
/// </summary> | ||
/// <param name="builder">The builder.</param> | ||
/// <returns></returns> | ||
public static IApplicationBuilder LoadDynamicAuthenticationConfiguration(this IApplicationBuilder builder) | ||
{ | ||
builder.ApplicationServices.LoadDynamicAuthenticationConfiguration<SchemeDefinition>(); | ||
return builder; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters