59 lines
1.3 KiB
PHP
59 lines
1.3 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: proto/auth.proto
|
|
|
|
namespace GRPC\Auth;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>auth.ValidateJwtTokenReq</code>
|
|
*/
|
|
class ValidateJwtTokenReq extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string jwt_token = 1;</code>
|
|
*/
|
|
protected $jwt_token = '';
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type string $jwt_token
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GRPC\GPBMetadata\Auth::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string jwt_token = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getJwtToken()
|
|
{
|
|
return $this->jwt_token;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string jwt_token = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setJwtToken($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->jwt_token = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|