You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Although still in the module for backward compatibility, Set-ServiceNowAuth is being replaced with New-ServiceNowSession. With this comes OAuth support, removal of global variables, and much more folks have asked for. The ability to provide credentials directly to functions has been retained for this release, but will be deprecated in a future release in favor of using New-ServiceNowSession.
Support for different api versions. Set-ServiceNowAuth will continue to use v1 of the api, but New-ServiceNowSession defaults to the latest. Check out the -ApiVersion parameter of New-ServiceNowSession.
Remove-ServiceNowAuth has been retained for this release, but as global variables have been removed, there is no longer a need for it; it will always return $true. It will be removed in a future release.
-PassThru added to remaining Update- and New- functions. Depending on your code, this may be a breaking change if you expected the result to be returned.