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

Function getAccessToken

cmd/auth.go:279–285  ·  view source on GitHub ↗
(tokType string, domain string, force bool)

Source from the content-addressed store, hash-verified

277}
278
279func getAccessToken(tokType string, domain string, force bool) (string, string, error) {
280 credential, filePath, err := getAccessCredential(tokType, domain, force)
281 if err != nil {
282 return "", "", err
283 }
284 return credential.AccessToken, filePath, nil
285}
286
287func loginCommand(tokType string) string {
288 switch tokType {

Calls 1

getAccessCredentialFunction · 0.85