public function authorizationGrant(&$user, &$user_auth_data, $consumers, $ldap_entry = NULL, $user_save = TRUE) {
    $this->filterOffPastAuthorizationRecords($user, $user_auth_data);
    $this->grantsAndRevokes('grant', $user, $user_auth_data, $consumers, $ldap_entry, $user_save);
  }
public function authorizationGrant(&$user, &$user_auth_data, $consumers, $ldap_entry = NULL, $user_save = TRUE) {
    $this->filterOffPastAuthorizationRecords($user, $user_auth_data);
    $this->grantsAndRevokes('grant', $user, $user_auth_data, $consumers, $ldap_entry, $user_save);
  }
public function authorizationGrant ( & $ user , & $ user_auth_data , $ consumers , $ ldap_entry = NULL , $ user_save = TRUE ) { $ this -> filterOffPastAuthorizationRecords ( $ user , $ user_auth_data ) ; $ this -> grantsAndRevokes ( 'grant' , $ user , $ user_auth_data , $ consumers , $ ldap_entry , $ user_save ) ; }
grant authorizations to a user

@param object $user drupal user object
@param array $consumers in form of LdapAuthorizationConsumerAbstractClass::populateConsumersFromConsumerIds
@param array $ldap_entry is ldap data from ldap entry which drupal user is mapped to
@param boolean $user_save.  should user object be saved by authorizationGrant method

@return array $results.  Array of form
array(
<authz consumer id1> => 1,
<authz consumer id2> => 0,
)
where 1s and 0s represent success and failure to grant


method may be desireable to override, if consumer benefits from adding grants as a group rather than one at a time
grant authorizations to a user