Lines Matching defs:code
163 * Generate an auth code
166 * @throws \Exception when no code can be created
178 * Check the given code
180 * @param string $code
181 * @param bool $usermessage should a message about the failed code be shown to the user?
183 * @throws \RuntimeException when no code can be created
185 public function checkCode($code, $usermessage = true)
191 $ok = $ga->verifyCode($secret, $code, $this->getTolerance());
212 * Transmits the code to the user
217 * @param string $code The code to transmit
221 abstract public function transmitMessage($code);