MCPcopy Create free account
hub / github.com/UiPath/uipathcli / createIdentityUrl

Function createIdentityUrl

auth/oauth_authenticator_test.go:431–437  ·  view source on GitHub ↗
(hostName string)

Source from the content-addressed store, hash-verified

429}
430
431func createIdentityUrl(hostName string) url.URL {
432 if hostName == "" {
433 hostName = "localhost"
434 }
435 identityUrl, _ := url.Parse(fmt.Sprintf("http://%s/identity_", hostName))
436 return *identityUrl
437}
438
439func performLogin(loginUrl url.URL, t *testing.T) string {
440 redirectUri := loginUrl.Query().Get("redirect_uri")

Callers 1

createAuthContextFunction · 0.85

Calls 1

ParseMethod · 0.65

Tested by

no test coverage detected