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

OAuth2Token

Complexity

Total Complexity 0

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 15
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
}