MCPcopy
hub / github.com/cli/cli / SSOURL

Function SSOURL

pkg/cmd/factory/default.go:293–302  ·  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

291// SSOURL returns the URL of a SAML SSO challenge received by the server for clients that use ExtractHeader
292// to extract the value of the "X-GitHub-SSO" response header.
293func SSOURL() string {
294 if ssoHeader == "" {
295 return ""
296 }
297 m := ssoURLRE.FindStringSubmatch(ssoHeader)
298 if m == nil {
299 return ""
300 }
301 return m[1]
302}

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