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.
()
| 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. |
| 350 | func 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 | } |
no outgoing calls