Exemple #1
0
 /**
  * This should eventually become a trait and share the functionality with SqrlGenerate
  * instead of being duplicate code
  * 
  * @return string
  */
 protected function generateQry($nut)
 {
     $currentPathParts = parse_url($this->configuration->getAuthenticationPath());
     $pathAppend = (empty($currentPathParts['query']) ? '?' : '&') . 'nut=';
     return $this->configuration->getAuthenticationPath() . $pathAppend . $nut;
 }