Skip to content

Support reqwest_middleware and OpenTelemetry#19

Merged
masongup-mdsol merged 8 commits intomasterfrom
support-middleware
Dec 10, 2024
Merged

Support reqwest_middleware and OpenTelemetry#19
masongup-mdsol merged 8 commits intomasterfrom
support-middleware

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
@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