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, + +];