1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
Rob Ede
94f99e4843
chore(actix-web-httpauth): prepare release 0.8.1 2023-09-16 03:14:40 +01:00
Max Karou
55ace79d64
Implement From<Basic> for BasicAuth (#327)
* implement `From<Basic>` for `BasicAuth`

* update changelog

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-09-16 00:27:50 +00:00
Rob Ede
aaedb9c625
MSRV 1.68 (#328) 2023-09-16 00:30:38 +01:00
Rob Ede
8a9c604c03
update msrv to 1.60
promted by prost 0.11.8
2023-03-22 21:13:56 +00:00
Rob Ede
6848312467
prettier markdown changelogs 2023-01-07 01:02:02 +00:00
Rob Ede
7d932cd540
bump msrv to 1.59 2022-08-28 20:30:32 +01:00
Rob Ede
73732b0a62
prepare actix-web-httpauth release 0.8.0 2022-07-21 02:51:33 +01:00
Rob Ede
ff06958b32
improve httpauth ergonomics (#264)
* improve httpauth ergonomics

* update changelog

* code and docs cleanup

* docs

* docs clean

* remove AuthExtractor trait

* update changelog
2022-07-21 02:50:22 +01:00
Mike Cronce
140453c649
Return &str from BasicAuth::user_id() and BasicAuth::password() (#249)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-19 01:33:32 +00:00
Rob Ede
fbae63d07f
prepare actix-web-httpauth release 0.7.0 2022-07-19 01:52:04 +01:00
Roland
417c06b00e
fix: broken stream when authentication failed (#260)
* fix: broken http stream when authentication failed

Signed-off-by: Roland Ma <rolandma@outlook.com>

* remove unchanged

Signed-off-by: Roland Ma <rolandma@outlook.com>

* Update CHANGES.md

* Update CHANGES.md

* Update CHANGES.md

Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-19 01:40:01 +01:00
Yuki Okushi
3c48e00e7a
Bump up MSRV to 1.57 (#256) 2022-06-22 20:42:46 +09:00
Rob Ede
fd272f817c
prepare actix-web-httpauth release 0.6.0 2022-03-01 04:14:07 +00:00
Rob Ede
2e86fb9822
prepare actix-identity release 0.4.0 2022-03-01 04:13:56 +00:00
Rob Ede
d46ee464e0
update examples links 2022-02-18 03:33:03 +00:00
Rob Ede
d9f27120f6
prepare actix-web-httpauth release 0.6.0-beta.8 2022-02-07 02:51:58 +00:00
Rob Ede
ab3615b8d5
relax body bounds (#223) 2022-02-07 02:30:26 +00:00
Rob Ede
323d01fcca
bump actix-web to 4.0.0-rc.1 2022-02-03 22:33:47 +00:00
Rob Ede
19bff0028e
prepare actix-web-httpauth release 0.6.0-beta.7 2021-12-29 10:29:29 +00:00
Rob Ede
5f17026a55
fix changelog 2021-12-29 09:59:36 +00:00
Rob Ede
92c9601850
bump msrv to 1.54 2021-12-29 09:42:31 +00:00
Rob Ede
6ca36b5d53
fixup changelogs 2021-12-29 09:36:12 +00:00
Luca Palmieri
14a622092d
Update to actix-web beta.17 (#217) 2021-12-29 09:25:52 +00:00
Rob Ede
6676a50944
actix-web beta 15 updates (#216) 2021-12-18 03:37:23 +00:00
Rob Ede
a0c93c62b3
prepare actix-web-httpauth release 0.6.0-beta.5 2021-12-12 19:13:40 +00:00
Rob Ede
74ec115161
migrate to actix-web beta 14 (#209) 2021-12-11 16:05:21 +00:00
Rob Ede
551cbfb113
prepare actix-web-httpauth release 0.6.0-beta.4 2021-11-22 23:21:25 +00:00
fakeshadow
07deaadd7b
add optional auth extractor implement. (#205) 2021-10-26 21:10:22 +01:00
Rob Ede
5d82b4e1e2
prepare actix-web-httpauth release 0.6.0-beta.3 2021-10-21 16:10:09 +01:00
Chiu-Hsiang Hsu
545873b5b2
update actix-web dependencies to v4 beta.10 (#203)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-21 14:10:00 +01:00
Rob Ede
627fe96be0
bump msrv to 1.52.1 2021-10-19 01:49:39 +01:00
Rob Ede
c6f579790f
bump msrv to 1.51 2021-08-30 23:10:36 +01:00
Rob Ede
44c7b07ce2
prepare second beta round (#189) 2021-06-27 07:28:26 +01:00
Rob Ede
554a852dea
prepare httpauth release 0.6.0-beta.1 2021-04-02 11:25:57 +01:00
Rob Ede
23912afd49
refactor identity (#168) 2021-03-23 05:05:03 +00:00
Rob Ede
c8f1d9671c
add upgrade -web hints in changelogs 2021-03-22 05:24:35 +00:00
Andrey Kutejko
ca85f6b245
Update dependencies (Tokio 1.0) (#144) 2021-03-21 22:50:26 +00:00
Rob Ede
5a72dd33d5
session, redis, and httpauth pre-v4 releases (#162) 2021-03-21 09:38:29 +00:00
Rob Ede
cbfd5d94ee
fix httpauth extraction error handling in middleware (#128) 2020-11-18 15:08:03 +00:00
Rob Ede
7a26d99c1a
lint and readme cleanup (#97) 2020-09-12 00:52:55 +01:00
Rob Ede
4a546718aa
prepare v3 compatible releases (#95) 2020-09-11 21:22:55 +01:00
Rob Ede
bad5f32a68
update all packages to use actix-web v3 (#94) 2020-09-11 16:26:15 +01:00
Yuki Okushi
61da910a81
httpauth: Bump up to 0.4.2 2020-07-08 07:55:40 +09:00
Yuki Okushi
10fe10c9c1
httpauth: Minimize futures dependency 2020-05-21 17:23:59 +09:00
Adam Chalmers
a50f1db473 Bugfix: AuthenticationError should set status_code
I noticed that my `AuthenticationError`'s `status_code` field was 401, but when I ran `.as_response_error()` the `ResponseError`'s code was 500 (the default value). It's because impl ResponseError for AuthenticationError doesn't define the `status_code()` trait method. Merely setting the status code in `error_response` isn't enough, it seems. I added a unit test for this case too.
2020-05-19 07:34:53 -05:00
Yuki Okushi
923cb7bcd2
Bump up MSRV to 1.40.0 2020-05-17 11:34:00 +09:00
Yuki Okushi
92c4230550
Update the base64 dependency to 0.12 2020-04-03 17:01:36 +09:00
Yuki Okushi
e245b1cffe Prepare for new release 2020-02-19 09:31:51 +09:00
Rob Ede
aac1158304
merge project metadata 2020-01-30 00:31:25 +00:00