eZPublishCommunityProject(LegacyStack)  2013.9
ezpRestOauthTokenController Class Reference

Controller for OAuth token endpoint. More...

+ Inheritance diagram for ezpRestOauthTokenController:
+ Collaboration diagram for ezpRestOauthTokenController:

Public Member Functions

 doHandleRequest ()
 Handles the POST request which is sent to obtain token data. More...
 

Protected Member Functions

 checkParams ($paramsToCheck)
 
 validateClient ($client_id, $client_secret)
 
 validateGrantType ($grant)
 

Detailed Description

Controller for OAuth token endpoint.

Exceptions
ezpOauthExpiredTokenException|ezpOauthInvalidRequestException|ezpOauthInvalidTokenException

Member Function Documentation

ezpRestOauthTokenController::checkParams (   $paramsToCheck)
protected

Referenced by doHandleRequest().

ezpRestOauthTokenController::doHandleRequest ( )

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

Currently only authorization code access grant is supported, section 4.1.1

Returns
ezcMvcResult
ezpRestOauthTokenController::validateClient (   $client_id,
  $client_secret 
)
protected
ezpRestOauthTokenController::validateGrantType (   $grant)
protected

Referenced by doHandleRequest().


The documentation for this class was generated from the following file: