Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reqwest_middleware and OpenTelemetry #19

Merged
merged 8 commits into from
Dec 10, 2024

Conversation

masongup-mdsol
Copy link
Member

This updates the client to implement the interfaces for reqwest_middleware, allowing for simpler and cleaner code on usage, and for easy integration with other outgoing middlewares. This is also used, along with supporting OpenTelemetry, to sign outgoing requests to MAuth, allowing for full OpenTelemetry tracing support when used in web services.

Also moves the public key cache into a global static to avoid the awkwardness of keeping it in each copy of the MAuth struct.

@masongup-mdsol masongup-mdsol merged commit a5f7e24 into master Dec 10, 2024
4 checks passed
@masongup-mdsol masongup-mdsol deleted the support-middleware branch December 10, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants