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

Function SSOURL

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

362// SSOURL returns the URL of a SAML SSO challenge received by the server for clients that use ExtractHeader
363// to extract the value of the "X-GitHub-SSO" response header.
364func SSOURL() string {
365 if ssoHeader == "" {
366 return ""
367 }
368 m := ssoURLRE.FindStringSubmatch(ssoHeader)
369 if m == nil {
370 return ""
371 }
372 return m[1]
373}

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