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: adding dart_frog_auth package. #690
Conversation
.use( | ||
bearerTokenAuthentication<User>( | ||
userFromToken: userRepository.fetchFromAccessToken, | ||
).build(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
I very much prefer the new functional approach over the object oriented one, it fits more with the framework.
The example in the README is great, loved it! I think we should (in the future) consider making a tutorial in the docs and pointing to it instead of including it within the README.
Thank you for the contribution 💙
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Status
N DEVELOPMENT
Description
Adds a dart_frog_auth package in order to implement some basic auth methods.
Opening as draft to gather initial feedback
Type of Change