| 1 | <?php |
||
| 7 | class Oauth2Token extends POSTEntryPoint { |
||
| 8 | |||
| 9 | protected $_AUTH_REQUIRED = false; |
||
| 10 | protected $_URL = 'oauth2/token'; |
||
| 11 | protected $_REQUIRED_DATA = array( |
||
| 12 | 'username', |
||
| 13 | 'password', |
||
| 14 | 'grant_type', |
||
| 15 | 'client_id', |
||
| 16 | 'client_secret', |
||
| 17 | 'platform' |
||
| 18 | ); |
||
| 19 | |||
| 20 | public function data(array $data){ |
||
| 24 | |||
| 25 | |||
| 26 | } |