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

user-auth: Make generateAuthorizedSessionToken async #137

Merged

Conversation

tbergmueller
Copy link
Contributor

For many authorization protocols, external resources are queried. Examples include API-Requests, DB-queries or even blockchain lookups.

This makes the generateAuthorizedSessionToken async to support such protocols in a non-blocking way.

What kind of change does your PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Refactor
  • Tests
  • Other, please describe: Minimal improvement for extending and customized UserAuthenticators

For many authorization protocols, external resources are queried.
Examples include API-Requests, DB-queries or even blockchain lookups.

This makes the generateAuthorizedSessionToken async to support these in
a non-blocking way.
@MarcusLongmuir MarcusLongmuir merged commit 0de38c6 into mml-io:main May 18, 2024
5 checks passed
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