New Library
This commit is contained in:
parent
5c6f6c97b7
commit
c479658f0b
83 changed files with 5788 additions and 0 deletions
36
server/vendor/php-opencloud/common/tests/unit/Fixtures/IdentityV2Api.php
vendored
Normal file
36
server/vendor/php-opencloud/common/tests/unit/Fixtures/IdentityV2Api.php
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
namespace OpenCloud\Test\Fixtures;
|
||||
|
||||
use OpenCloud\Common\Api\ApiInterface;
|
||||
|
||||
class IdentityV2Api implements ApiInterface
|
||||
{
|
||||
public function postToken()
|
||||
{
|
||||
return [
|
||||
'method' => 'POST',
|
||||
'path' => 'tokens',
|
||||
'params' => [
|
||||
'username' => [
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
'path' => 'auth.passwordCredentials'
|
||||
],
|
||||
'password' => [
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
'path' => 'auth.passwordCredentials'
|
||||
],
|
||||
'tenantId' => [
|
||||
'type' => 'string',
|
||||
'path' => 'auth',
|
||||
],
|
||||
'tenantName' => [
|
||||
'type' => 'string',
|
||||
'path' => 'auth',
|
||||
]
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue