You are here

public function RefreshToken__1_0::controllersInfo in RESTful 7.2

Overrides \RestfulBase::controllersInfo().

Overrides Resource::controllersInfo

File

modules/restful_token_auth/src/Plugin/resource/RefreshToken__1_0.php, line 44
Contains Drupal\restful_token_auth\Plugin\resource\RefreshToken__1_0.

Class

RefreshToken__1_0
Class RefreshToken__1_0 @package Drupal\restful_token_auth\Plugin\resource

Namespace

Drupal\restful_token_auth\Plugin\resource

Code

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