You are here

public static function RestfulRefreshTokenAuthentication::controllersInfo in RESTful 7

Overrides \RestfulBase::controllersInfo().

Overrides RestfulEntityBase::controllersInfo

File

modules/restful_token_auth/plugins/restful/restful_token_auth/token_auth/refresh_token/1.0/RestfulRefreshTokenAuthentication.class.php, line 13
Contains RestfulRefreshTokenAuthentication.

Class

RestfulRefreshTokenAuthentication
@file Contains RestfulRefreshTokenAuthentication.

Code

public static function controllersInfo() {
  return array(
    '.*' => array(
      // Get or create a new token.
      \RestfulInterface::GET => 'refreshToken',
    ),
  );
}