1 | <?php |
||
7 | class OAuth2Token extends AbstractPostEntryPoint { |
||
8 | |||
9 | protected $_AUTH_REQUIRED = false; |
||
10 | protected $_URL = 'oauth2/token'; |
||
11 | protected $_REQUIRED_DATA = array( |
||
12 | 'username' => null, |
||
13 | 'password' => null, |
||
14 | 'grant_type' => 'password', |
||
15 | 'client_id' => null, |
||
16 | 'client_secret' => null, |
||
17 | 'platform' => null |
||
18 | ); |
||
19 | protected $_DATA_TYPE = 'array'; |
||
20 | |||
21 | } |