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

feat: allow to define a function to select credentials #3948

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

qoomon
Copy link

@qoomon qoomon commented Feb 23, 2025

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

In my project the credentials can be either in Authorization or in X-Authorization header, therefore I added an optional function to allow arbitrary logic to gather credentials from the request.

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