Skip to content

feat!: Add async support and improved initialization for RemoteJwksDecoder #15

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

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

cmackenzie1
Copy link
Owner

  • Make JwtDecoder trait async with decode method
  • Add async_trait to support async trait methods
  • Implement async initialization with Notify for RemoteJwksDecoder
  • Enhance key refresh and decoding logic to handle concurrent initialization
  • Update tests and examples to support async decoding
  • Add async-trait and futures dependencies

BREAKING CHANGE: decode is now async and requires awaitng.

…coder

- Make JwtDecoder trait async with decode method
- Add async_trait to support async trait methods
- Implement async initialization with Notify for RemoteJwksDecoder
- Enhance key refresh and decoding logic to handle concurrent initialization
- Update tests and examples to support async decoding
- Add async-trait and futures dependencies

BREAKING CHANGE: `decode` is now async and requires awaitng.
@cmackenzie1 cmackenzie1 merged commit b9d7a34 into main Jan 26, 2025
1 check passed
@cmackenzie1 cmackenzie1 deleted the cole/async-decode branch January 26, 2025 05:04
@cmackenzie1 cmackenzie1 added this to the v0.5.0 milestone Jan 31, 2025
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.

1 participant