Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Identity/User.php')
-rw-r--r--apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Identity/User.php73
1 files changed, 73 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Identity/User.php b/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Identity/User.php
new file mode 100644
index 00000000000..9e3862d1750
--- /dev/null
+++ b/apps/files_external/3rdparty/php-opencloud/lib/OpenCloud/Common/Identity/User.php
@@ -0,0 +1,73 @@
+<?php
+/**
+ * @copyright 2012-2013 Rackspace Hosting, Inc.
+ * See COPYING for licensing information
+ * @package phpOpenCloud
+ * @version 1.5.9
+ * @author Glen Campbell <glen.campbell@rackspace.com>
+ * @author Jamie Hannaford <jamie.hannaford@rackspace.co.uk>
+ */
+
+/**
+ * Represents a sub-user in Keystone.
+ *
+ * @link http://docs.rackspace.com/auth/api/v2.0/auth-client-devguide/content/User_Calls.html
+ *
+ * @codeCoverageIgnore
+ */
+class User extends PersistentObject
+{
+
+ public static function factory($info)
+ {
+ $user = new self;
+ }
+
+ /**
+ * Return detailed information about a specific user, by either user name or user ID.
+ * @param int|string $info
+ */
+ public function get($info)
+ {
+ if (is_integer($info)) {
+
+ } elseif (is_string($info)) {
+
+ } else {
+ throw new Exception\IdentityException(sprintf(
+ 'A string-based username or an integer-based user ID is valid'
+ ));
+ }
+ }
+
+ public function create()
+ {
+
+ }
+
+ public function update()
+ {
+
+ }
+
+ public function delete()
+ {
+
+ }
+
+ public function listAllCredentials()
+ {
+
+ }
+
+ public function getCredentials()
+ {
+
+ }
+
+ public function resetApiKey()
+ {
+
+ }
+
+} \ No newline at end of file