mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:50:12 +00:00
Use "checkAllowedScope" instead of "login"
This commit is contained in:
parent
5853fe562d
commit
2a440c0bae
54 changed files with 62 additions and 73 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue