Skip to content
Snippets Groups Projects
Commit 10cc2fb3 authored by lukasmatusiewicz's avatar lukasmatusiewicz
Browse files

add the client mode to the challenge

parent 940f6507
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,9 @@ class PIChallenge
/* @var string Image data for this challenge. */
public $image = "";
/* @var string Client mode matching this challenge. */
public $clientMode = "";
/* @var string TransactionId to reference this challenge in later requests. */
public $transactionID = "";
......
......@@ -156,6 +156,7 @@ class PIResponse
$tmp->message = $challenge['message'];
$tmp->serial = $challenge['serial'];
$tmp->type = $challenge['type'];
$tmp->clientMode = $challenge['client_mode'];
if (isset($challenge['image']))
{
$tmp->image = $challenge['image'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment