提交服务端基础框架
This commit is contained in:
50
Server/vendor/alibabacloud/credentials/src/Credential/Config.php
vendored
Executable file
50
Server/vendor/alibabacloud/credentials/src/Credential/Config.php
vendored
Executable file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
namespace AlibabaCloud\Credentials\Credential;
|
||||
|
||||
class Config
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $type = 'default';
|
||||
|
||||
public $accessKeyId = "";
|
||||
|
||||
public $accessKeySecret = "";
|
||||
|
||||
public $securityToken = "";
|
||||
|
||||
public $bearerToken = "";
|
||||
|
||||
public $roleName = "";
|
||||
|
||||
public $roleArn = "";
|
||||
|
||||
public $roleSessionName = "";
|
||||
|
||||
public $host = "";
|
||||
|
||||
public $publicKeyId = "";
|
||||
|
||||
public $privateKeyFile = "";
|
||||
|
||||
public $readTimeout = 0;
|
||||
|
||||
public $connectTimeout = 0;
|
||||
|
||||
public $certFile = "";
|
||||
|
||||
public $certPassword = "";
|
||||
|
||||
public $proxy = "";
|
||||
|
||||
public $expiration = 0;
|
||||
|
||||
public function __construct($config)
|
||||
{
|
||||
foreach ($config as $k => $v) {
|
||||
$this->{$k} = $v;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user