mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-08 01:14:29 +01:00
Update Protobuf classes
This commit is contained in:
parent
720eb16750
commit
450769da0e
@ -15,7 +15,7 @@ public static function initOnce() {
|
||||
return;
|
||||
}
|
||||
$pool->internalAddGeneratedFile(hex2bin(
|
||||
"0af5050a10476f6f676c65417574682e70726f746f12176170702e50726f746f6275662e476f6f676c654175746822bf050a075061796c6f616412460a0e6f74705f706172616d657465727318012003280b322e2e6170702e50726f746f6275662e476f6f676c65417574682e5061796c6f61642e4f7470506172616d6574657273120f0a0776657273696f6e18022001280512120a0a62617463685f73697a6518032001280512130a0b62617463685f696e64657818042001280512100a0862617463685f69641805200128051a82020a0d4f7470506172616d6574657273120e0a0673656372657418012001280c120c0a046e616d65180220012809120e0a06697373756572180320012809123d0a09616c676f726974686d18042001280e322a2e6170702e50726f746f6275662e476f6f676c65417574682e5061796c6f61642e416c676f726974686d123b0a0664696769747318052001280e322b2e6170702e50726f746f6275662e476f6f676c65417574682e5061796c6f61642e4469676974436f756e7412360a047479706518062001280e32282e6170702e50726f746f6275662e476f6f676c65417574682e5061796c6f61642e4f747054797065120f0a07636f756e74657218072001280322790a09416c676f726974686d12190a15414c474f524954484d5f554e535045434946494544100012120a0e414c474f524954484d5f53484131100112140a10414c474f524954484d5f534841323536100212140a10414c474f524954484d5f534841353132100312110a0d414c474f524954484d5f4d4435100422550a0a4469676974436f756e74121b0a1744494749545f434f554e545f554e535045434946494544100012130a0f44494749545f434f554e545f534958100112150a1144494749545f434f554e545f4549474854100222490a074f74705479706512180a144f54505f545950455f554e535045434946494544100012110a0d4f54505f545950455f484f5450100112110a0d4f54505f545950455f544f54501002620670726f746f33"
|
||||
"0a85060a10476f6f676c65417574682e70726f746f12176170702e50726f746f6275662e476f6f676c654175746822cf050a075061796c6f616412460a0e6f74705f706172616d657465727318012003280b322e2e6170702e50726f746f6275662e476f6f676c65417574682e5061796c6f61642e4f7470506172616d6574657273120f0a0776657273696f6e18022001280512120a0a62617463685f73697a6518032001280512130a0b62617463685f696e64657818042001280512100a0862617463685f69641805200128051a92020a0d4f7470506172616d6574657273120e0a0673656372657418012001280c120c0a046e616d65180220012809120e0a06697373756572180320012809123d0a09616c676f726974686d18042001280e322a2e6170702e50726f746f6275662e476f6f676c65417574682e5061796c6f61642e416c676f726974686d123b0a0664696769747318052001280e322b2e6170702e50726f746f6275662e476f6f676c65417574682e5061796c6f61642e4469676974436f756e7412360a047479706518062001280e32282e6170702e50726f746f6275662e476f6f676c65417574682e5061796c6f61642e4f747054797065120f0a07636f756e746572180720012803120e0a06706572696f6418082001280322790a09416c676f726974686d12190a15414c474f524954484d5f554e535045434946494544100012120a0e414c474f524954484d5f53484131100112140a10414c474f524954484d5f534841323536100212140a10414c474f524954484d5f534841353132100312110a0d414c474f524954484d5f4d4435100422550a0a4469676974436f756e74121b0a1744494749545f434f554e545f554e535045434946494544100012130a0f44494749545f434f554e545f534958100112150a1144494749545f434f554e545f4549474854100222490a074f74705479706512180a144f54505f545950455f554e535045434946494544100012110a0d4f54505f545950455f484f5450100112110a0d4f54505f545950455f544f54501002620670726f746f33"
|
||||
), true);
|
||||
|
||||
static::$is_initialized = true;
|
||||
|
@ -28,6 +28,7 @@ message Payload {
|
||||
DigitCount digits = 5;
|
||||
OtpType type = 6;
|
||||
int64 counter = 7;
|
||||
int64 period = 8;
|
||||
}
|
||||
repeated OtpParameters otp_parameters = 1;
|
||||
int32 version = 2;
|
||||
|
@ -41,6 +41,10 @@ class OtpParameters extends \Google\Protobuf\Internal\Message
|
||||
* Generated from protobuf field <code>int64 counter = 7;</code>
|
||||
*/
|
||||
protected $counter = 0;
|
||||
/**
|
||||
* Generated from protobuf field <code>int64 period = 8;</code>
|
||||
*/
|
||||
protected $period = 0;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
@ -216,6 +220,28 @@ public function setCounter($var)
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>int64 period = 8;</code>
|
||||
* @return int|string
|
||||
*/
|
||||
public function getPeriod()
|
||||
{
|
||||
return $this->period;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated from protobuf field <code>int64 period = 8;</code>
|
||||
* @param int|string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPeriod($var)
|
||||
{
|
||||
GPBUtil::checkInt64($var);
|
||||
$this->period = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Adding a class alias for backwards compatibility with the previous class name.
|
||||
|
Loading…
Reference in New Issue
Block a user