public static function RestfulAccessTokenAuthentication::controllersInfo in RESTful 7
Overrides \RestfulBase::controllersInfo().
Overrides RestfulEntityBase::controllersInfo
File
- modules/
restful_token_auth/ plugins/ restful/ restful_token_auth/ token_auth/ access_token/ 1.0/ RestfulAccessTokenAuthentication.class.php, line 13 - Contains RestfulAccessTokenAuthentication.
Class
- RestfulAccessTokenAuthentication
- @file Contains RestfulAccessTokenAuthentication.
Code
public static function controllersInfo() {
return array(
'' => array(
// Get or create a new token.
\RestfulInterface::GET => 'getOrCreateToken',
),
);
}