Added token auth#44
Open
Edw1nS1984 wants to merge 1 commit intojakkulabs:mainfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Good timezone fellow VRO admins!
First of all, thank you for building this powershell module so many years ago. I've recently found myself in need of it, but unfortunately i needed a different auth type (token) in order to connect to our VRO system. So, as any good admin would do, I fixed the problem. In the spirit of cooperation and sharing the wealth, i'm hereby requesting that it be added to the module, so others can use your wonderful module with newer VRO versions.
The change i've made is that the Connect-VROServer now has a TokenAuth parameter, and based on that the login process changes and the resulting output gets a token if that method was selected .
I've also added a check for the auth type to all the cmdlets with custom headers and build them accordingly.
Hope this message finds y'all well. If there's any questions let me know.