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

httpclient_oauth2

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

13 releases

new 0.3.2 May 15, 2024
0.3.1 May 8, 2024
0.2.0 Jan 7, 2024
0.1.8 Jan 1, 2024
0.1.7 Dec 28, 2023

#495 in Authentication

Download history 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 259/week @ 2024-05-03 144/week @ 2024-05-10

403 downloads per month
Used in 2 crates

MIT license

16KB
311 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

~12–25MB
~416K SLoC