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