Beispiel #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="next">Next middleware</param>
 /// <param name="bo">options</param>
 /// <param name="signReader">Table prefix</param>
 /// <param name="action">action to execute after setted options</param>
 public DewBadgeMiddleware(RequestDelegate next, DewBadgeOptions bo, IDewBadgeSigner signReader, Action <HttpContext> action)
 {
     _next       = next;
     _bo         = bo;
     _signReader = signReader;
     _action     = action;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="next">Next middleware</param>
 /// <param name="bo">Connection string</param>
 /// <param name="signReader">Table prefix</param>
 public DewBadgeMiddleware(RequestDelegate next, DewBadgeOptions bo, IDewBadgeSigner signReader)
 {
     _next       = next;
     _bo         = bo;
     _signReader = signReader;
 }