Private/Get-DuneAuthUrl.ps1
|
function Get-DuneAuthUrl { param( [Parameter(Mandatory)] [ValidateSet("Prod", "Dev","Test","Local")] [string]$DuneInstance ) switch ($DuneInstance) { 'Prod' { return 'https://duneframework.com/gui/authentication/login-minimized' } 'Dev' { return 'https://dev.duneframework.com/gui/authentication/login-minimized' } 'Test' { return 'https://test.duneframework.com/gui/authentication/login-minimized' } 'Local' { return 'https://localhost:5001/gui/authentication/login-minimized' } } } |