(appKey string, domain string)
| 114 | } |
| 115 | |
| 116 | func oauthConfigWithAppKey(appKey string, domain string) *oauth2.Config { |
| 117 | endpoint := dropbox.OAuthEndpoint(domain) |
| 118 | endpoint.AuthStyle = oauth2.AuthStyleInParams |
| 119 | |
| 120 | return &oauth2.Config{ |
| 121 | ClientID: appKey, |
| 122 | Endpoint: endpoint, |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | func (c *storedCredential) UnmarshalJSON(b []byte) error { |
| 127 | var accessToken string |
no outgoing calls
no test coverage detected