#oauth2 #http-client #middleware #flow #user #struct

httpclient_oauth2

A simple OAuth2 client library for Rust. Provides middleware for httpclient.

10 releases

0.2.0 Jan 7, 2024
0.1.8 Jan 1, 2024
0.1.7 Dec 28, 2023

#635 in Authentication

Download history 86/week @ 2023-12-22 23/week @ 2023-12-29 16/week @ 2024-01-05 2/week @ 2024-01-12 8/week @ 2024-02-23 12/week @ 2024-03-01 4/week @ 2024-03-08 1806/week @ 2024-03-15 5/week @ 2024-03-22 28/week @ 2024-03-29 5/week @ 2024-04-05

1,845 downloads per month
Used in 2 crates

MIT license

15KB
298 lines

There are two key structs in this module: OAuth2Flow and OAuth2. OAuth2Flow brings the user through the OAuth2 flow, and OAuth2 is a middleware used to authorize requests.

Dependencies

~11–26MB
~415K SLoC