public SwaggerAccessDocumentFilter(IHttpContextAccessor httpContextAccessor) { _httpContextAccessor = httpContextAccessor; authService = new BasicAuthService(); }
public BasicAuthMiddleware(RequestDelegate next, string realm) { this.next = next; this.realm = realm; _authService = new BasicAuthService(); }