コード例 #1
0
ファイル: NuAuth.php プロジェクト: azamtav/nu-auth
 /**
  * Validate Ldap User with given Credientials with netid and password
  * @param  array $credentials
  * @return bool
  */
 protected function validateLdapCredentials(array $credentials)
 {
     $ldap = new NuLdap();
     $netid = $credentials[$this->netidKey];
     $password = $credentials['password'];
     return $ldap->validate($netid, $password);
 }