actix / actix/actix-extras

[actix-web-httpauth] Custom error response when BearerAuth extrator is used

Đang mở
#587 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
A-httpauth C-improvement
Ngôn ngữ chính
Rust
Star
889
Fork
224
Merge trung bình
9 giờ 37 phút
Pull request đã merge (30 ngày)
20

Mô tả

I'd like to specify a custom error handler for `BearerAuth` extractor, possibly via its `Config`.
This is already supported by `HttpAutentication` middleware (https://github.com/actix/actix-extras/issues/156), but the middleware seems to be independent from the extractor.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.