MCPcopy
hub / github.com/IceWhaleTech/CasaOS / GetConfig

Function GetConfig

drivers/dropbox/util.go:108–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 return res, nil
107}
108func GetConfig() Dropbox {
109 dp := Dropbox{}
110 dp.RootFolderID = ""
111 dp.AuthUrl = "https://www.dropbox.com/oauth2/authorize?client_id=" + app_key + "&redirect_uri=https://cloudoauth.files.casaos.app&response_type=code&token_access_type=offline&state=${HOST}%2Fv1%2Frecover%2FDropbox&&force_reapprove=true&force_reauthentication=true"
112 dp.AppKey = app_key
113 dp.AppSecret = app_secret
114 dp.Icon = "./img/driver/Dropbox.svg"
115 return dp
116}

Callers 2

GetRecoverStorageFunction · 0.92
ListDriverInfoFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected