t1mmen / opauth-dropbox
Harvest strategy for Opauth
0.1.0
2014-11-01 00:29 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-12-17 05:02:16 UTC
README
Opauth strategy for Dropbox authentication.
Implemented based on https://www.dropbox.com/developers/blog/45/using-oauth-20-with-the-core-api
Getting started
-
Install Opauth-Dropbox:
Using git:
cd path_to_opauth/Strategy git clone https://github.com/t1mmen/opauth-dropbox.git Dropbox
Or, using Composer, just add this to your composer.json
:
{ "require": { "t1mmen/opauth-dropbox": "*" } }
Then run composer install
.
-
Create Dropbox application at https://www.dropbox.com/developers
-
Configure Opauth-Dropbox strategy with at least
Client ID
andClient Secret
. -
Direct user to
http://path_to_opauth/dropbox
to authenticate
Strategy configuration
Required parameters:
<?php 'Dropbox' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
License
Opauth-Dropbox is MIT Licensed Copyright © 2014 Timm Stokke (http://timm.stokke.me)