示例#1
0
 public SwaggerAccessDocumentFilter(IHttpContextAccessor httpContextAccessor)
 {
     _httpContextAccessor = httpContextAccessor;
     authService          = new BasicAuthService();
 }
示例#2
0
 public BasicAuthMiddleware(RequestDelegate next, string realm)
 {
     this.next    = next;
     this.realm   = realm;
     _authService = new BasicAuthService();
 }