/**
  * @param $stateValue
  * @return $this
  * @throws WrongArgumentException
  */
 public function setSessionState($stateValue)
 {
     Assert::isString($stateValue);
     $this->sessionState = $stateValue;
     return $this;
 }
 /**
  * @param $uri
  * @return $this
  * @throws WrongArgumentException
  */
 public function setRedirectUri($uri)
 {
     Assert::isString($uri);
     $this->redirectUri = $uri;
     return $this;
 }
Example #3
0
 /**
  * @param string $accessToken
  * @return $this
  * @throws WrongArgumentException
  */
 public function setAccessToken($accessToken)
 {
     Assert::isString($accessToken);
     $this->accessToken = $accessToken;
     return $this;
 }