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

Function authTokenDetails

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

Source from the content-addressed store, hash-verified

300}
301
302func authTokenDetails(tokType string) map[string]any {
303 return map[string]any{
304 "token_type": authTokenTypeName(tokType),
305 "login_command": loginCommand(tokType),
306 "env_var": envAccessToken,
307 }
308}
309
310func authTokenTypeName(tokType string) string {
311 switch tokType {

Callers 2

getAccessCredentialFunction · 0.85
missingAccessTokenErrorFunction · 0.85

Calls 2

authTokenTypeNameFunction · 0.85
loginCommandFunction · 0.85

Tested by

no test coverage detected