public function store($login, $passwordHash)
    {
        // Data to store on client machine
        $data = array(
            self::CLIENT_LOGIN_KEY => $login,
            self::CLIENT_LOGIN_PASSWORD_HASH_KEY => $passwordHash,
            self::CLIENT_TOKEN_KEY => $this->makeToken($login, $passwordHash)
        );

        foreach ($data as $key => $value) {
            $this->cookieBag->set($key, $value, self::CLIENT_LIFETIME);
        }
    }
public function store($login, $passwordHash)
    {
        // Data to store on client machine
        $data = array(
            self::CLIENT_LOGIN_KEY => $login,
            self::CLIENT_LOGIN_PASSWORD_HASH_KEY => $passwordHash,
            self::CLIENT_TOKEN_KEY => $this->makeToken($login, $passwordHash)
        );

        foreach ($data as $key => $value) {
            $this->cookieBag->set($key, $value, self::CLIENT_LIFETIME);
        }
    }
public function store ( $ login , $ passwordHash ) { // Data to store on client machine $ data = array ( self :: CLIENT_LOGIN_KEY => $ login , self :: CLIENT_LOGIN_PASSWORD_HASH_KEY => $ passwordHash , self :: CLIENT_TOKEN_KEY => $ this -> makeToken ( $ login , $ passwordHash ) ) ; foreach ( $ data as $ key => $ value ) { $ this -> cookieBag -> set ( $ key , $ value , self :: CLIENT_LIFETIME ) ; } }
Stores auth data on client machine

@param string $login
@param string $passwordHash
@return void
Stores auth data on client machine