/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/authentication/src/Identifier
NameSizeModeActions
Ldap/-0755rm
Resolver/-0755rm
AbstractIdentifier.php13150644editdlrm
CallbackIdentifier.php22440644editdlrm
IdentifierCollection.php38260644editdlrm
IdentifierInterface.php12780644editdlrm
JwtSubjectIdentifier.php10950644editdlrm
LdapIdentifier.php60850644editdlrm
PasswordIdentifier.php50980644editdlrm
TokenIdentifier.php17500644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/authentication/src/Identifier/TokenIdentifier.php (1750B)
'token', 'dataField' => self::CREDENTIAL_TOKEN, 'resolver' => 'Authentication.Orm', 'hashAlgorithm' => null, ]; /** * @inheritDoc */ public function identify(array $credentials) { $dataField = $this->getConfig('dataField'); if (!isset($credentials[$dataField])) { return null; } if ($this->getConfig('hashAlgorithm') !== null) { $credentials[$dataField] = Security::hash( $credentials[$dataField], $this->getConfig('hashAlgorithm') ); } $conditions = [ $this->getConfig('tokenField') => $credentials[$dataField], ]; return $this->getResolver()->find($conditions); } }