Use "checkAllowedScope" instead of "login"
This commit is contained in:
@@ -168,17 +168,6 @@ class BaseApi extends BaseModule
|
||||
return $request;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use checkAllowedScope instead
|
||||
* Log in user via OAuth or Basic HTTP Auth.
|
||||
*
|
||||
* @param string $scope the requested scope (read, write, follow)
|
||||
*/
|
||||
protected static function login(string $scope)
|
||||
{
|
||||
self::checkAllowedScope($scope);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current application token
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user