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
using System; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Http.Features; | |
using Microsoft.Extensions.Options; | |
namespace Demo.AspNetCore.SslAcceleration.Middlewares | |
{ | |
public class SslAccelerationOptions |
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
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using Microsoft.Extensions.Options; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Http.Features; | |
namespace Demo.AspNetCore.PostTunneling.Middlewares | |
{ | |
public class PostTunnelingMiddleware |
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
using System; | |
using Microsoft.Extensions.Options; | |
using Microsoft.AspNetCore.HttpOverrides; | |
using Lib.AspNetCore.CloudFlareConnectingIp; | |
namespace Microsoft.AspNetCore.Builder | |
{ | |
public static class CloudFlareConnectingIpExtensions | |
{ | |
public static IApplicationBuilder UseCloudFlareConnectingIp(this IApplicationBuilder app) |
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
using System; | |
using System.Text; | |
using System.Security.Cryptography; | |
using Microsoft.AspNetCore.Authentication; | |
using Microsoft.AspNetCore.Authentication.JwtBearer; | |
using Microsoft.IdentityModel.Tokens; | |
namespace Microsoft.Extensions.DependencyInjection | |
{ | |
public static class JwtBearerMultipleJwaExtensions |