Pode
Pode copied to clipboard
Create a function to allow the "merging" of multiple auths
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:
Merge-PodeAuth -Name -Auths[] <-All> <-One>
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.