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

Function oauthCredentials

cmd/root.go:124–135  ·  view source on GitHub ↗
(tokenType string)

Source from the content-addressed store, hash-verified

122}
123
124func oauthCredentials(tokenType string) string {
125 switch tokenType {
126 case tokenPersonal:
127 return personalAppKey
128 case tokenTeamAccess:
129 return teamAccessAppKey
130 case tokenTeamManage:
131 return teamManageAppKey
132 default:
133 return ""
134 }
135}
136
137func setOAuthCredentials(tokenType string, appKey string) {
138 switch tokenType {

Callers 4

oauthConfigFunction · 0.85
refreshStoredCredentialFunction · 0.85

Calls

no outgoing calls

Tested by 1