Searched refs:userTokenPath (Results 1 – 4 of 4) sorted by relevance
/dports/ftp/sftpgo/sftpgo-2.2.0/httpd/ |
H A D | httpd.go | 36 userTokenPath = "/api/v2/user/token" const
|
H A D | httpd_test.go | 70 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 D | server.go | 1110 s.router.Get(userTokenPath, s.getUserToken)
|
H A D | internal_test.go | 708 req, _ = http.NewRequest(http.MethodGet, userTokenPath, nil)
|