mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
extract "BaseApi::checkDefaults()" method for later usage
This commit is contained in:
parent
d21108fe0e
commit
f580d8e5c0
42 changed files with 86 additions and 72 deletions
|
@ -36,7 +36,7 @@ class Token extends BaseApi
|
|||
{
|
||||
protected function post(array $request = [], array $post = [])
|
||||
{
|
||||
$request = self::getRequest([
|
||||
$request = $this->getRequest([
|
||||
'client_id' => '', // Client ID, obtained during app registration
|
||||
'client_secret' => '', // Client secret, obtained during app registration
|
||||
'redirect_uri' => '', // Set a URI to redirect the user to. If this parameter is set to "urn:ietf:wg:oauth:2.0:oob" then the token will be shown instead. Must match one of the redirect URIs declared during app registration.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue