-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Create a function to allow the "merging" of multiple auths #588
Comments
I've extended this to also cover the new Access methods as well, and tweaked the way they work from #992 slightly. There is now two new I'm also making |
I have overhauled the core authentication validation logic quite a bit. In my initial tests so far there haven't been any breaking changes, and all existing auth methods still work - but it will need more testing to make sure. |
All testing seems good 😄 Just need to update the docs. |
Describe the Change
This is from #575.
Could it be possible to have some
Merge-PodeAuth
function, which would allow the merging of multiple auth methods?For example:
This will return a "merged" auth type usable on Routes, and you can either have All auths needed to pass, or just One to pass.
The text was updated successfully, but these errors were encountered: