diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-06 09:44:04 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-09-09 11:09:37 +0200 |
commit | 007be83a968e6aee649ff8de173163cb5ef93a86 (patch) | |
tree | 18e03c4a5562989bbd6482e9e6a47f3619b71e30 /lib/private/Security/CredentialsManager.php | |
parent | fc10fa592626d154a91d77d35c93beabdc7605c1 (diff) | |
download | nextcloud-server-fix/oc/inheritdoc.tar.gz nextcloud-server-fix/oc/inheritdoc.zip |
fix(OC): Remove doc blocks for OCP implementationsfix/oc/inheritdoc
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/Security/CredentialsManager.php')
-rw-r--r-- | lib/private/Security/CredentialsManager.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/private/Security/CredentialsManager.php b/lib/private/Security/CredentialsManager.php index fdf2c46ecf8..7de328f4f50 100644 --- a/lib/private/Security/CredentialsManager.php +++ b/lib/private/Security/CredentialsManager.php @@ -26,12 +26,6 @@ class CredentialsManager implements ICredentialsManager { ) { } - /** - * Store a set of credentials - * - * @param string $userId empty string for system-wide credentials - * @param mixed $credentials - */ public function store(string $userId, string $identifier, $credentials): void { $value = $this->crypto->encrypt(json_encode($credentials)); @@ -43,11 +37,6 @@ class CredentialsManager implements ICredentialsManager { ]); } - /** - * Retrieve a set of credentials - * - * @param string $userId empty string for system-wide credentials - */ public function retrieve(string $userId, string $identifier): mixed { $qb = $this->dbConnection->getQueryBuilder(); $qb->select('credentials') @@ -72,12 +61,6 @@ class CredentialsManager implements ICredentialsManager { return json_decode($this->crypto->decrypt($value), true); } - /** - * Delete a set of credentials - * - * @param string $userId empty string for system-wide credentials - * @return int rows removed - */ public function delete(string $userId, string $identifier): int { $qb = $this->dbConnection->getQueryBuilder(); $qb->delete(self::DB_TABLE) @@ -92,11 +75,6 @@ class CredentialsManager implements ICredentialsManager { return $qb->execute(); } - /** - * Erase all credentials stored for a user - * - * @return int rows removed - */ public function erase(string $userId): int { $qb = $this->dbConnection->getQueryBuilder(); $qb->delete(self::DB_TABLE) |