Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | require_once('IGrantType.php'); |
---|
4 | |
---|
5 | /** |
---|
6 | * Client Credentials Parameters |
---|
7 | */ |
---|
8 | class OAuth2_GrantType_ClientCredentials implements OAuth2_GrantType_IGrantType |
---|
9 | { |
---|
10 | /** |
---|
11 | * Defines the Grant Type |
---|
12 | * |
---|
13 | * @var string Defaults to 'client_credentials'. |
---|
14 | */ |
---|
15 | const GRANT_TYPE = 'client_credentials'; |
---|
16 | |
---|
17 | /** |
---|
18 | * Adds a specific Handling of the parameters |
---|
19 | * |
---|
20 | * @return array of Specific parameters to be sent. |
---|
21 | * @param mixed $parameters the parameters array (passed by reference) |
---|
22 | */ |
---|
23 | public function validateParameters(&$parameters) |
---|
24 | { |
---|
25 | } |
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.