src/Authenticator/CookieAuthenticator.php
protected function _createPlainToken($identity)
    {
        $usernameField = $this->getConfig('fields.username');
        $passwordField = $this->getConfig('fields.password');

        return $identity[$usernameField] . $identity[$passwordField];
    }
protected function _createPlainToken($identity)
    {
        $usernameField = $this->getConfig('fields.username');
        $passwordField = $this->getConfig('fields.password');

        return $identity[$usernameField] . $identity[$passwordField];
    }
protected function _createPlainToken ( $ identity ) { $ usernameField = $ this -> getConfig ( 'fields.username' ) ; $ passwordField = $ this -> getConfig ( 'fields.password' ) ; return $ identity [ $ usernameField ] . $ identity [ $ passwordField ] ; }
Creates a plain part of a cookie token.

Returns concatenated username and password hash.

@param array|\ArrayAccess $identity Identity data.
@return string
Creates a plain part of a cookie token .