public static void UseHmac(this IAppBuilder app, HmacMiddlewareOptions options) { app.Use <HmacMiddleware>( options.SecretRepository, options.Algorithm, options.ClockSkew, options.Time); }
public HmacMiddleware(OwinMiddleware next, HmacMiddlewareOptions options) : base(next) { this.options = options; }