sugyan / atrium

Rust libraries for Bluesky's AT Protocol services.
MIT License
218 stars 26 forks source link

Oauth session #242

Open avdb13 opened 3 weeks ago

sugyan commented 3 weeks ago

Thank you for the pull-request! This is very helpful that you complemented the parts that I had not yet implemented, such as token revoke and refresh, etc..

The Cached part is a faithful port of the CachedGetter from the TypeScript SDK to Rust...? I haven't tried it yet, but it would be a difficult code... I imagine that we want to prevent the same request from being executed multiple times in parallel like the ThrottledResolver I introduced with atrium-identity. I think it would be nice if we could somehow bundle them in a common form....