Exemplo n.º 1
0
 public static IAppBuilder UseRequireClaimsInJwt(this IAppBuilder appBuilder, RequireClaimsInJwtOptions opts)
 {
     appBuilder.Use <RequireClaimsInJwtMiddleware>(opts);
     return(appBuilder);
 }
 public RequireClaimsInJwtMiddleware(AppFunc next, RequireClaimsInJwtOptions options)
 {
     _next    = next;
     _options = options;
 }