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

Function requestAccessToken

cmd/auth.go:352–358  ·  view source on GitHub ↗
(tokType string, domain string)

Source from the content-addressed store, hash-verified

350}
351
352func requestAccessToken(tokType string, domain string) (string, error) {
353 credential, err := requestAccessCredential(tokType, domain)
354 if err != nil {
355 return "", err
356 }
357 return credential.AccessToken, nil
358}
359
360func requestAccessCredential(tokType string, domain string) (storedCredential, error) {
361 if err := ensureOAuthAppCredentials(tokType); err != nil {

Calls 1

requestAccessCredentialFunction · 0.85