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; }