MCPcopy Create free account
hub / github.com/dropbox/dbxcli / loginCommand

Function loginCommand

cmd/auth.go:287–296  ·  view source on GitHub ↗
(tokType string)

Source from the content-addressed store, hash-verified

285}
286
287func loginCommand(tokType string) string {
288 switch tokType {
289 case tokenTeamAccess:
290 return "dbxcli login team-access"
291 case tokenTeamManage:
292 return "dbxcli login team-manage"
293 default:
294 return "dbxcli login"
295 }
296}
297
298func missingAccessTokenError(tokType string) error {
299 return authRequiredErrorfWithDetails("no saved Dropbox credentials; run %q first or set %s", authTokenDetails(tokType), loginCommand(tokType), envAccessToken)

Callers 4

getAccessCredentialFunction · 0.85
missingAccessTokenErrorFunction · 0.85
authTokenDetailsFunction · 0.85

Calls

no outgoing calls

Tested by 1