2/12/2023 0 Comments Dropbox developer secretThe example code below shows use of the DropboxServiceProvider to retrieve an instance of IDropboxĪfter authenticating through OAuth1 server-side flow:ĭropboxServiceProvider serviceProvider = new DropboxServiceProvider( "consumerKey", "consumerSecret", AccessLevel.AppFolder) You can also get an instance of IDropbox from the DropboxServiceProvider class. That allows to specify language settings of content responses: In addition, DropboxTemplate has a Locale property IDropbox dropbox = new DropboxTemplate(consumerKey, consumerSecret, accessToken, accessTokenSecret, AccessLevel.Full) String consumerKey = "." // The application's consumer key string consumerSecret = "." // The application's consumer secret string accessToken = "." // The access token granted after OAuth authorization string accessTokenSecret = "." // The access token secret granted after OAuth authorization Passing in the application's OAuth credentials, an access token/secret pair authorizing the application to act on a user's behalfĪnd the type of access level configured with the application. Spring.NET Social Dropbox offers integration with Dropbox's REST API through the IDropbox interfaceĬreating an instance of DropboxTemplate involves invoking its constructor,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |