-
-
Notifications
You must be signed in to change notification settings - Fork 84
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 #1286 from Aguafrommars/master
8.1 preview
- Loading branch information
Showing
155 changed files
with
10,400 additions
and
1,738 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,11 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
# Build job | ||
# Deployment job | ||
deploy: | ||
environment: | ||
name: heroku | ||
url: https://theidserver-duende.herokuapp.com/ | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -34,5 +37,5 @@ jobs: | |
heroku_api_key: ${{ secrets.HEROKU_API_KEY }} | ||
heroku_app_name: "theidserver-duende" | ||
heroku_email: "[email protected]" | ||
buildpack: https://github.com/Aguafrommars/theidserver-buildpack | ||
buildpack: https://github.com/Aguafrommars/theidserverbuildpack | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,16 +1,17 @@ | ||
mode: ContinuousDelivery | ||
branches: | ||
master: | ||
tag: ci | ||
is-mainline: false | ||
regex: master | ||
label: ci | ||
is-main-branch: false | ||
release: | ||
regex: release/ | ||
tag: '' | ||
is-mainline: true | ||
label: '' | ||
is-main-branch: true | ||
preview: | ||
regex: preview/ | ||
tag: 'preview' | ||
is-mainline: true | ||
label: 'preview' | ||
is-main-branch: true | ||
source-branches: ['master'] | ||
ignore: | ||
sha: [] |
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
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
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
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
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
10 changes: 10 additions & 0 deletions
10
sample/MultiTiers/Aguacongas.TheIdServer.Api/ClientConfigurationValidator.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,10 @@ | ||
using Duende.IdentityServer.Validation; | ||
using System.Threading.Tasks; | ||
|
||
namespace Aguacongas.TheIdServer.Api; | ||
|
||
public class EmptyClientConfigurationValidator : IClientConfigurationValidator | ||
{ | ||
public Task ValidateAsync(ClientConfigurationValidationContext context) | ||
=> Task.CompletedTask; | ||
} |
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,11 @@ | ||
// Project: Aguafrommars/TheIdServer | ||
// Copyright (c) 2023 @Olivier Lefebvre | ||
using Duende.IdentityServer; | ||
using System; | ||
|
||
namespace Aguacongas.TheIdServer.Api; | ||
|
||
internal class Clock : IClock | ||
{ | ||
public DateTimeOffset UtcNow => DateTime.UtcNow; | ||
} |
14 changes: 14 additions & 0 deletions
14
sample/MultiTiers/Aguacongas.TheIdServer.Api/CreatePersonalAccessTokenServvice.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,14 @@ | ||
using Aguacongas.IdentityServer.Abstractions; | ||
using Microsoft.AspNetCore.Http; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
|
||
namespace Aguacongas.TheIdServer.Api; | ||
|
||
public class CreatePersonalAccessTokenServvice : ICreatePersonalAccessToken | ||
{ | ||
public Task<string> CreatePersonalAccessTokenAsync(HttpContext context, bool isRefenceToken, int lifetimeDays, IEnumerable<string> apis, IEnumerable<string> scopes, IEnumerable<string> claimTypes) | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
sample/MultiTiers/Aguacongas.TheIdServer.Api/EventService.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,14 @@ | ||
using Duende.IdentityServer.Events; | ||
using Duende.IdentityServer.Services; | ||
using System.Threading.Tasks; | ||
|
||
namespace Aguacongas.TheIdServer.Api; | ||
|
||
public class EmptyEventService : IEventService | ||
{ | ||
public bool CanRaiseEventType(EventTypes evtType) | ||
=> true; | ||
|
||
public Task RaiseAsync(Event evt) | ||
=> Task.CompletedTask; | ||
} |
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
Oops, something went wrong.