Skip to content

Commit

Permalink
Merge pull request #5 from vinkla/fix-4
Browse files Browse the repository at this point in the history
Configuration for generated access_token - developer.vimeo.com/apps.
  • Loading branch information
vinkla committed Jan 21, 2015
2 parents 9d2c3f7 + 39c400e commit 935c1aa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/Vinkla/Vimeo/VimeoServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public function register()
{
return new Vimeo(
$app['config']['vimeo::client_id'],
$app['config']['vimeo::client_secret']
$app['config']['vimeo::client_secret'],
$app['config']['vimeo::access_token']
);
});
}
Expand Down
15 changes: 13 additions & 2 deletions src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@
|
*/

'client_secret' => ''
'client_secret' => '',

];
/*
|--------------------------------------------------------------------------
| Access Token
|--------------------------------------------------------------------------
| Your applications access token. Can be found on developer.vimeo.com/apps
| or generated using OAuth 2.
*/

'access_token' => null,

];

0 comments on commit 935c1aa

Please sign in to comment.