MCPcopy Index your code
hub / github.com/Threadfin/Threadfin / tokenAuthentication

Function tokenAuthentication

src/authentication.go:64–73  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

62}
63
64func tokenAuthentication(token string) (newToken string, err error) {
65
66 if System.ConfigurationWizard == true {
67 return
68 }
69
70 newToken, err = authentication.CheckTheValidityOfTheToken(token)
71
72 return
73}
74
75func basicAuth(r *http.Request, level string) (username string, err error) {
76

Callers 2

WSFunction · 0.85
APIFunction · 0.85

Calls 1

Tested by

no test coverage detected