From 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 9 Jan 2020 10:55:03 +0100 Subject: phpmyadmin working --- .../samyoul/u2f-php-server/src/SignRequest.php | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 srcs/phpmyadmin/vendor/samyoul/u2f-php-server/src/SignRequest.php (limited to 'srcs/phpmyadmin/vendor/samyoul/u2f-php-server/src/SignRequest.php') diff --git a/srcs/phpmyadmin/vendor/samyoul/u2f-php-server/src/SignRequest.php b/srcs/phpmyadmin/vendor/samyoul/u2f-php-server/src/SignRequest.php new file mode 100644 index 0000000..8a825aa --- /dev/null +++ b/srcs/phpmyadmin/vendor/samyoul/u2f-php-server/src/SignRequest.php @@ -0,0 +1,75 @@ +challenge = $parameters['challenge']; + $this->keyHandle = $parameters['keyHandle']; + $this->appId = $parameters['appId']; + } + + /** + * @return string + */ + public function version() + { + return $this->version; + } + + /** + * @return string + */ + public function challenge() + { + return $this->challenge; + } + + /** + * @return string + */ + public function keyHandle() + { + return $this->keyHandle; + } + + /** + * @return string + */ + public function appId() + { + return $this->appId; + } + + public function jsonSerialize() + { + return [ + 'version' => $this->version, + 'challenge' => $this->challenge, + 'keyHandle' => $this->keyHandle, + 'appId' => $this->appId, + ]; + } + +} \ No newline at end of file -- cgit