public static IAppBuilder UseSaml2SLOAuthentication(this IAppBuilder app, SLOAuthenticationOptions options) { if (app == null) { throw new ArgumentNullException("app"); } if (options == null) { throw new ArgumentNullException("options"); } var resolver = ApplicationConfiguration.Instance.DependencyResolver; app.Use((object)typeof(SLOOwinMiddleware), (object)options, resolver); return(app); }
public static IAppBuilder UseSaml2SLOAuthentication(this IAppBuilder app) { var options = new SLOAuthenticationOptions(); return(app.UseSaml2SLOAuthentication(options)); }