protected function getState()
    {
        $state = null;
        if ($this->responseMode === 'query' && isset($_GET['state'])) {
            $state = $_GET['state'];
        } else if ($this->responseMode === 'form_post' && isset($_POST['state'])) {
            $state = $_POST['state'];
        }

        return $state;
    }
protected function getState()
    {
        $state = null;
        if ($this->responseMode === 'query' && isset($_GET['state'])) {
            $state = $_GET['state'];
        } else if ($this->responseMode === 'form_post' && isset($_POST['state'])) {
            $state = $_POST['state'];
        }

        return $state;
    }
protected function getState ( ) { $ state = null ; if ( $ this -> responseMode === 'query' && isset ( $ _GET [ 'state' ] ) ) { $ state = $ _GET [ 'state' ] ; } else if ( $ this -> responseMode === 'form_post' && isset ( $ _POST [ 'state' ] ) ) { $ state = $ _POST [ 'state' ] ; } return $ state ; }
Get the state from POST or GET, depending on response_mode

@return string|null

@see https://auth0.com/docs/api-auth/tutorials/authorization-code-grant
Get the state from POST or GET depending on response_mode