kernel/private/rest/classes/controllers/oauth_token.php
File containing the ezpRestOauthTokenController class
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
\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 |