public ResourceServerMiddleware(RequestDelegate next, ICrypter crypter, ResourceServerOptions resourceServerOptions)
 {
     _next    = next;
     _crypter = crypter;
     _resourceServerOptions = resourceServerOptions;
 }
Exemplo n.º 2
0
 public static void UseResourceServerMiddleware(this IApplicationBuilder app, ResourceServerOptions resourceServerOptions)
 {
     app.UseMiddleware <ResourceServerMiddleware>(resourceServerOptions);
 }