Skip to content

Instantly share code, notes, and snippets.

public class StsMiddleware
{
private readonly Func<IDictionary<string, object>, Task> _next;
private readonly IStsConfig _config;
public StsMiddleware(Func<IDictionary<string, object>, Task> next)
: this(next, new AppConfigStsConfig())
{}
public StsMiddleware(Func<IDictionary<string, object>, Task> next, IStsConfig config = null)