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

Function SSOURL

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

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

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