src/Core/OAuth/OAuth2/OAuth2LoginHelper.php
public function getState(){
        if(isset($this->state) && !empty($this->state)){
            return (String)$this->state;
        }else{
          throw new SdkException("Can't get OAuth 2 state. It is not set.");
        }
    }
public function getState(){
        if(isset($this->state) && !empty($this->state)){
            return (String)$this->state;
        }else{
          throw new SdkException("Can't get OAuth 2 state. It is not set.");
        }
    }
Return the state for the App
@return String   The state