MCPcopy Create free account
hub / github.com/cli/cli / SSOURL

Function SSOURL

pkg/cmd/factory/default.go:350–359  ·  view source on GitHub ↗

SSOURL returns the URL of a SAML SSO challenge received by the server for clients that use ExtractHeader to extract the value of the "X-GitHub-SSO" response header.

()

Source from the content-addressed store, hash-verified

348// SSOURL returns the URL of a SAML SSO challenge received by the server for clients that use ExtractHeader
349// to extract the value of the "X-GitHub-SSO" response header.
350func SSOURL() string {
351 if ssoHeader == "" {
352 return ""
353 }
354 m := ssoURLRE.FindStringSubmatch(ssoHeader)
355 if m == nil {
356 return ""
357 }
358 return m[1]
359}

Callers 5

processResponseFunction · 0.92
LoadNotificationsMethod · 0.92
LoadSearchResultsMethod · 0.92
MainFunction · 0.92
TestSSOURLFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSSOURLFunction · 0.68