protected function getCode()
    {
        $queryData = [
            'response_type' => 'code',
            'client_id' => $this->clientId,
            'redirect_uri' => $this->redirectUri
        ];

        header('Location: ' . self::AUTHORIZE_URI . '?' . http_build_query($queryData));
        throw new ExitException();
    }
protected function getCode()
    {
        $queryData = [
            'response_type' => 'code',
            'client_id' => $this->clientId,
            'redirect_uri' => $this->redirectUri
        ];

        header('Location: ' . self::AUTHORIZE_URI . '?' . http_build_query($queryData));
        throw new ExitException();
    }
protected function getCode ( ) { $ queryData = [ 'response_type' => 'code' , 'client_id' => $ this -> clientId , 'redirect_uri' => $ this -> redirectUri ] ; header ( 'Location: ' . self :: AUTHORIZE_URI . '?' . http_build_query ( $ queryData ) ) ; throw new ExitException ( ) ; }
Authorize - First step

@throws ExitException
Authorize - First step