public static IAppBuilder UseHawkAuthentication(this IAppBuilder app, HawkAuthenticationOptions options) { app.Use(typeof(HawkAuthenticationMiddleware), app, options); app.UseStageMarker(PipelineStage.Authenticate); return app; }
public static IAppBuilder UseHawkAuthentication(this IAppBuilder app, HawkAuthenticationOptions options) { app.Use(typeof(HawkAuthenticationMiddleware), app, options); app.UseStageMarker(PipelineStage.Authenticate); return(app); }