You are here

function hook_ldap_authorization_maps_alter in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 7.2 ldap_authorization/ldap_authorization.api.php \hook_ldap_authorization_maps_alter()

Allow a custom module to alter ldap_authorization mappings

Parameters

object $user as drupal acct object: @param array $ldap_user See ldap_authentication/README.developers.txt for structure @param LdapServer $ldap_server The ldap server associated with this consumer type @param LdapAuthorizationConsumerConf $consumer_conf The ldap consumer configuraion associated with this consumer type @param array $proposed_ldap_authorizations with keys of consumer ids and values of consumers (drupal roles, og entity, etc.)

alters $proposed_ldap_authorizations by reference

1 function implements hook_ldap_authorization_maps_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

ldap_authorization_ldap_authorization_maps_alter in ldap_authorization/ldap_authorization.module
Implements hook_ldap_authorization_maps_alter().
1 invocation of hook_ldap_authorization_maps_alter()
ldap_authorization_maps_alter_invoke in ldap_authorization/ldap_authorization.module
ldap_authorization_maps_alter_invoke invokes hook_ldap_authorization_maps_alter() in every module.

File

ldap_authorization/ldap_authorization.api.php, line 27
summary of hooks and other developer related functions

Code

function hook_ldap_authorization_maps_alter($user, $ldap_user, $ldap_server, $consumer_conf, $proposed_ldap_authorizations, $op) {
}