From 24bb5fefbdf93ce0969b7f56cc46c459ebb82a95 Mon Sep 17 00:00:00 2001 From: EoleDev Date: Thu, 14 Apr 2016 16:24:44 +0200 Subject: Mise a jour et nettoyage depot --- .../common/tests/unit/Fixtures/IdentityV3Api.php | 75 ---------------------- 1 file changed, 75 deletions(-) delete mode 100644 server/vendor/php-opencloud/common/tests/unit/Fixtures/IdentityV3Api.php (limited to 'server/vendor/php-opencloud/common/tests/unit/Fixtures/IdentityV3Api.php') diff --git a/server/vendor/php-opencloud/common/tests/unit/Fixtures/IdentityV3Api.php b/server/vendor/php-opencloud/common/tests/unit/Fixtures/IdentityV3Api.php deleted file mode 100644 index 2fc922f..0000000 --- a/server/vendor/php-opencloud/common/tests/unit/Fixtures/IdentityV3Api.php +++ /dev/null @@ -1,75 +0,0 @@ - 'object', - 'params' => [ - 'id' => ['type' => 'string'], - 'name' => ['type' => 'string'] - ] - ]; - } - - private function projectParam() - { - return [ - 'type' => 'object', - 'params' => [ - 'id' => ['type' => 'string'], - 'name' => ['type' => 'string'], - 'domain' => $this->domainParam(), - ] - ]; - } - - public function postTokens() - { - return [ - 'method' => 'POST', - 'path' => 'tokens', - 'params' => [ - 'methods' => [ - 'type' => 'array', - 'path' => 'auth.identity', - 'items' => [ - 'type' => 'string' - ] - ], - 'user' => [ - 'path' => 'auth.identity.password', - 'type' => 'object', - 'properties' => [ - 'id' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'password' => [ - 'type' => 'string', - ], - 'domain' => $this->domainParam() - ] - ], - 'tokenId' => [ - 'type' => 'string', - 'path' => 'auth.identity.token', - 'sentAs' => 'id', - ], - 'scope' => [ - 'type' => 'object', - 'path' => 'auth', - 'properties' => [ - 'project' => $this->projectParam(), - 'domain' => $this->domainParam() - ] - ] - ] - ]; - } -} -- cgit v1.2.3