Completed
Push — master ( c7c88d...7873ee )
by Mike
02:24
created

Oauth2Token::configureData()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 8
rs 9.4285
cc 3
eloc 6
nc 3
nop 1
1
<?php
2
3
namespace SugarAPI\SDK\EntryPoint\POST;
4
5
use SugarAPI\SDK\EntryPoint\Abstracts\POST\AbstractPostEntryPoint;
6
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
}