Home
last modified time | relevance | path

Searched refs:userTokenPath (Results 1 – 4 of 4) sorted by relevance

/dports/ftp/sftpgo/sftpgo-2.2.0/httpd/
H A Dhttpd.go36 userTokenPath = "/api/v2/user/token" const
H A Dhttpd_test.go70 userTokenPath = "/api/v2/user/token" const
577 req, err := http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
593 req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
602 req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
610 req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
622 req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
816 req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
827 req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
842 req, err = http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
935 req, err := http.NewRequest(http.MethodGet, fmt.Sprintf("%v%v", httpBaseURL, userTokenPath), nil)
[all …]
H A Dserver.go1110 s.router.Get(userTokenPath, s.getUserToken)
H A Dinternal_test.go708 req, _ = http.NewRequest(http.MethodGet, userTokenPath, nil)