123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?php
- namespace TencentCloud\Common;
- class Credential
- {
-
- private $secretId;
-
- private $secretKey;
-
- private $token;
-
- public function __construct($secretId, $secretKey, $token = null)
- {
- $this->secretId = $secretId;
- $this->secretKey = $secretKey;
- $this->token = $token;
- }
-
- public function setSecretId($secretId)
- {
- $this->secretId = $secretId;
- }
-
- public function setSecretKey($secretKey)
- {
- $this->secretKey = $secretKey;
- }
-
- public function setToken($token)
- {
- $this->token = $token;
- }
-
- public function getSecretId()
- {
- return $this->secretId;
- }
-
- public function getSecretKey()
- {
- return $this->secretKey;
- }
-
- public function getToken()
- {
- return $this->token;
- }
- }
|