public function putAuthorization(string $user, string $password): self
    {
        $this->put('Authorization', 'BASIC ' . base64_encode($user . ':' . $password));
        return $this;
    }
public function putAuthorization(string $user, string $password): self
    {
        $this->put('Authorization', 'BASIC ' . base64_encode($user . ':' . $password));
        return $this;
    }
public function putAuthorization ( string $ user , string $ password ) : self { $ this -> put ( 'Authorization' , 'BASIC ' . base64_encode ( $ user . ':' . $ password ) ) ; return $ this ; }
creates header for authorization

@param   string  $user      login name
@param   string  $password  login password
@return  \stubbles\peer\HeaderList
creates header for authorization