access_token__1_0.inc in RESTful 7
File
modules/restful_token_auth/plugins/restful/restful_token_auth/token_auth/access_token/1.0/access_token__1_0.inc
View source
<?php
$plugin = array(
'label' => t('Access token authentication'),
'resource' => 'access_token',
'name' => 'access_token__1_0',
'entity_type' => 'restful_token_auth',
'bundle' => 'access_token',
'description' => t('Export the access token authentication resource.'),
'class' => 'RestfulAccessTokenAuthentication',
'authentication_types' => array(
'cookie',
'basic_auth',
),
'menu_item' => variable_get('restful_hook_menu_base_path', 'api') . '/login-token',
);