diff --git a/src/One/TwitterProvider.php b/src/One/TwitterProvider.php index fff88f0b..1fe2e17f 100644 --- a/src/One/TwitterProvider.php +++ b/src/One/TwitterProvider.php @@ -32,4 +32,15 @@ public function user() 'avatar_original' => str_replace('_normal', '', $user->imageUrl), ]); } + + /** + * Set the access level the application should request to the user account. + * + * @param string $scope + * @return void + */ + public function scope(string $scope) + { + $this->server->setApplicationScope($scope); + } }