kernel/private/rest/classes/controllers/oauth_token.php

Show: inherited
Table of Contents

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

Controller for OAuth token endpoint.

Parent(s)
\ezcMvcController
\ezpOauthExpiredTokenException | \ezpOauthInvalidRequestException | \ezpOauthInvalidTokenException

Methods

methodprotectedcheckParams(  $paramsToCheck ) : void

Parameters
Name Type Description
$paramsToCheck
methodpublicdoHandleRequest( ) : \ezcMvcResult

Handles the POST request which is sent to obtain token data.

Currently only authorization code access grant is supported, section 4.1.1

Returns
Type Description
\ezcMvcResult
methodprotectedvalidateClient(  $client_id,  $client_secret ) : void

Parameters
Name Type Description
$client_id
$client_secret
methodprotectedvalidateGrantType(  $grant ) : void

Parameters
Name Type Description
$grant
Documentation was generated by DocBlox 0.18.1.