library opauth-dropbox
Harvest strategy for Opauth
t1mmen/opauth-dropbox
Harvest strategy for Opauth
- Saturday, November 1, 2014
- by t1mmen
- Repository
- 1 Watchers
- 0 Stars
- 17 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Opauth-Dropbox
[Opauth][1] strategy for Dropbox authentication., (*1)
Implemented based on https://www.dropbox.com/developers/blog/45/using-oauth-20-with-the-core-api, (*2)
Getting started
-
Install Opauth-Dropbox:, (*3)
Using git:, (*4)
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:, (*5)
{
"require": {
"t1mmen/opauth-dropbox": "*"
}
}
Then run composer install., (*6)
-
Create Dropbox application at https://www.dropbox.com/developers, (*7)
-
Configure Opauth-Dropbox strategy with at least Client ID and Client Secret., (*8)
-
Direct user to http://path_to_opauth/dropbox to authenticate, (*9)
Strategy configuration
Required parameters:, (*10)
<?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), (*11)