Fix for missing merged auth docs, and add a quicker default selector for merging All auths #1277
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Change
Adds documentation which was missing, describing the need for
-ScriptBlock
onMerge-PodeAuth
when-Valid All
was passed.Also adds a quick new
-MergeDefault
when-Valid All
is passed, which acts as a faster shorthand for-ScriptBlock
when we only want to use the User object returned by just one of the authentication methods.Also fixes some of the merged auth examples, still using an older format.
Related Issue
Resolves #1179
Examples