kernel/private/rest/classes/controllers/oauth_token.php
\ezpRestOauthTokenController
Package: Default
Returns
Controller for OAuth token endpoint.
- Parent(s)
- \ezcMvcController
Methods

doHandleRequest(
)
:
\ezcMvcResultHandles the POST request which is sent to obtain token data.
Currently only authorization code access grant is supported, section 4.1.1
| Type | Description |
|---|---|
| \ezcMvcResult |

validateClient(
$client_id, $client_secret
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $client_id | ||
| $client_secret |