You are here

public function SimpleLdapSSO::validateSid in Simple LDAP 7.2

Same name and namespace in other branches
  1. 7 simple_ldap_sso/SimpleLdapSSO.class.php \SimpleLdapSSO::validateSid()

Validate an sid against the stored value on LDAP.

File

simple_ldap_sso/SimpleLdapSSO.class.php, line 128
SimpleLdapSSO object.

Class

SimpleLdapSSO
@file SimpleLdapSSO object.

Code

public function validateSid($sid) {
  return $this
    ->getHashedSid() == $this
    ->hashSid($sid);
}