ios-dropbox-auth

0.1.0

A simple library for authorising Dropbox API requests on iOS.
jellybeansoup/ios-dropbox-auth

What's New

0.1.0 Initial Release

2016-05-25T03:17:20Z

Initial release.

  • Mechanism for authorising Dropbox access via OAuth v2 protocol.
  • Automatic migration of OAuth v1 tokens to OAuth v2.
  • Keychain storage for auth tokens.

#Dropbox Auth

In occasions when the official SDK for Dropbox is too heavy or too restricting, it's usually preferable to access the HTTP API directly. The problem is, you then have to deal with the OAuth flow and storage of the credentials by hand, or worse, utilise the Dropbox SDK for just that part of the process (and given that the new one relies on Alamofire, you're having to embed a framework you never actually use). This library is designed to just handle that aspect, and allows you to sign your own NSURLRequest objects for the API calls, allowing you to handle them any way you want.

##Released under the BSD License

Copyright © 2016 Daniel Farrelly

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Description

  • Swift Tools
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Oct 17 2024 14:47:19 GMT-0900 (Hawaii-Aleutian Daylight Time)