Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 820 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 820 Bytes

PowerShell module for query string format

Used by Ubisecure.OAuth2, Ubisecure.SSO.Management

Install from github.com

Windows

cd /d %USERPROFILE%\Documents\WindowsPowerShell\Modules
git clone https://github.com/psteniusubi/Ubisecure.QueryString.git

Linux

cd ~/.local/share/powershell/Modules
git clone https://github.com/psteniusubi/Ubisecure.QueryString.git

Example use

$query = New-QueryString |
    Add-QueryString "response_type" "code" |
    Add-QueryString "client_id" "public" |
    Add-QueryString "scope" "openid" |
    Add-QueryString "redirect_uri" "http://localhost/public" |
    ConvertTo-QueryString

Start-Process "https://login.example.ubidemo.com/uas/oauth2/authorization?$query"