function openid_connect_permission in OpenID Connect / OAuth client 7
Implements hook_permission().
File
- ./
openid_connect.module, line 53 - A pluggable client implementation for the OpenID Connect protocol.
Code
function openid_connect_permission() {
return array(
'configure openid connect clients' => array(
'title' => t('Configure OpenID Connect clients'),
),
'manage own openid_connect accounts' => array(
'title' => t('Manage own connected accounts'),
),
'openid_connect set own password' => array(
'title' => t('Set a password for local authentication'),
'description' => t('If the account is connected with an external provider, the user needs this permission in order to set their own password.'),
),
);
}