function services_token_access_permission in Services Token Access 7
Implements hook_permission().
File
- ./
services_token_access.module, line 49 - Module file for services_token_access module.
Code
function services_token_access_permission() {
return array(
'services use token authentication' => array(
'title' => t('Use token authentication'),
'description' => t('Allow the user to access services authenticated by the user token.'),
),
'services manage own authentication token' => array(
'title' => t('Manage own authentication token'),
'description' => t('Allow the user to see and change its own authentication token.'),
),
);
}