← All methods

auth.token

auth.token — плоский ответ как у /oauth/token (Phoenix).

Parameters

Parameter Type Required Description
grant_type mixed no
refresh_token mixed no
username mixed no
password mixed no

Example

curl -s -X POST 'https://durovloh.net/api.php' \
  -d 'method=auth.token' \
  -d 'access_token=USER_TOKEN'