MCPcopy Index your code
hub / github.com/rilldata/rill / redirectLogin

Method redirectLogin

admin/server/github.go:1020–1023  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

1018}
1019
1020func (s *Server) redirectLogin(w http.ResponseWriter, r *http.Request) {
1021 redirectURL := s.admin.URLs.AuthLogin(r.URL.RequestURI(), false)
1022 http.Redirect(w, r, redirectURL, http.StatusTemporaryRedirect)
1023}
1024
1025func (s *Server) checkGithubRateLimit(route string) middleware.CheckFunc {
1026 return func(req *http.Request) error {

Callers 4

githubConnectMethod · 0.95
githubConnectCallbackMethod · 0.95
githubAuthMethod · 0.95
githubStatusMethod · 0.95

Calls 1

AuthLoginMethod · 0.80

Tested by

no test coverage detected