Example #1
0
 public function askClientChallenge()
 {
     $challengePin = $this->createPin(30);
     AuthUserData::updateExtraKey($this->userData['userID'], $challengePin, 'challenge');
     header('Auth-Challenge: ' . $challengePin);
     header('Auth-Salt: ' . $this->userData['salt']);
 }