You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that most of the functions in the API run self.authenticate. For now, this is just a passthrough that returns some AuthData and always returns OK. Instead of having this logic running individually for each request, I'm wondering if this is something that could be run as a middleware or a tower::Layer or somewhere that abstracts it away from the requests.
The text was updated successfully, but these errors were encountered:
I noticed that most of the functions in the API run
self.authenticate
. For now, this is just a passthrough that returns some AuthData and always returns OK. Instead of having this logic running individually for each request, I'm wondering if this is something that could be run as a middleware or atower::Layer
or somewhere that abstracts it away from the requests.The text was updated successfully, but these errors were encountered: