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

Function oauthConfig

cmd/auth.go:111–114  ·  view source on GitHub ↗
(tokenType string, domain string)

Source from the content-addressed store, hash-verified

109}
110
111func oauthConfig(tokenType string, domain string) *oauth2.Config {
112 appKey := oauthCredentials(tokenType)
113 return oauthConfigWithAppKey(appKey, domain)
114}
115
116func oauthConfigWithAppKey(appKey string, domain string) *oauth2.Config {
117 endpoint := dropbox.OAuthEndpoint(domain)

Callers 1

requestAccessCredentialFunction · 0.85

Calls 2

oauthCredentialsFunction · 0.85
oauthConfigWithAppKeyFunction · 0.85

Tested by

no test coverage detected