allowing people to inject functions as custom middleware

This commit is contained in:
tom.pallister
2016-10-19 19:32:05 +01:00
parent b8951c4698
commit ab5d7fa33d
10 changed files with 320 additions and 30 deletions

View File

@ -1,13 +1,7 @@
ReRoutes:
- DownstreamTemplate: http://localhost:51876/
- DownstreamTemplate: http://localhost:41879/
UpstreamTemplate: /
UpstreamHttpMethod: Post
AuthenticationOptions:
Provider: IdentityServer
ProviderRootUrl: http://localhost:51888
ScopeName: api
AdditionalScopes: []
ScopeSecret: secret
ProxyRequestHeaders:
- CustomerId: Claims[CustomerId]
UpstreamHttpMethod: Get
AddHeadersToRequest: {}
AddClaimsToRequest: {}
RouteClaimsRequirement: {}