From 39c400eef61f9fb9e605d1ba2c73eb36a524e5e3 Mon Sep 17 00:00:00 2001 From: Eduardo Stuart Date: Tue, 9 Dec 2014 19:57:10 -0200 Subject: [PATCH] Configuration for generated access_token - developer.vimeo.com/apps. --- src/Vinkla/Vimeo/VimeoServiceProvider.php | 3 ++- src/config/config.php | 15 +++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/Vinkla/Vimeo/VimeoServiceProvider.php b/src/Vinkla/Vimeo/VimeoServiceProvider.php index 31a48b4..92f4490 100644 --- a/src/Vinkla/Vimeo/VimeoServiceProvider.php +++ b/src/Vinkla/Vimeo/VimeoServiceProvider.php @@ -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'] ); }); } diff --git a/src/config/config.php b/src/config/config.php index 994f45c..a47a76a 100644 --- a/src/config/config.php +++ b/src/config/config.php @@ -24,6 +24,17 @@ | */ - 'client_secret' => '' + 'client_secret' => '', -]; \ No newline at end of file + /* + |-------------------------------------------------------------------------- + | Access Token + |-------------------------------------------------------------------------- + |  + | Your applications access token. Can be found on developer.vimeo.com/apps + | or generated using OAuth 2. + */ + + 'access_token' => null, + +];