passman/controller/credentialcontroller.php

87 lines
1.4 KiB
PHP
Raw Normal View History

2016-09-09 23:36:35 +08:00
<?php
/**
* Nextcloud - passman
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Sander Brand <brantje@gmail.com>
* @copyright Sander Brand 2016
*/
namespace OCA\Passman\Controller;
use OCP\IRequest;
2016-09-10 01:05:18 +08:00
use OCA\Passman\Credential;
2016-09-09 23:36:35 +08:00
use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Http\DataResponse;
2016-09-10 00:02:53 +08:00
use OCP\AppFramework\ApiController;
2016-09-11 05:30:17 +08:00
use OCP\AppFramework\Controller;
2016-09-09 23:36:35 +08:00
2016-09-11 05:30:17 +08:00
class CredentialController extends Controller {
2016-09-09 23:36:35 +08:00
private $userId;
public function __construct($AppName, IRequest $request, $UserId){
parent::__construct($AppName, $request);
$this->userId = $UserId;
}
/**
* @NoAdminRequired
*/
public function createCredential() {
2016-09-09 23:36:35 +08:00
return;
}
/**
* @NoAdminRequired
*/
public function getCredential($credential_id) {
2016-09-09 23:36:35 +08:00
return;
}
/**
* @NoAdminRequired
*/
public function updateCredential($credential_id) {
2016-09-09 23:36:35 +08:00
return;
}
/**
* @NoAdminRequired
*/
public function deleteCredential($credential_id) {
return;
}
/**
* @NoAdminRequired
*/
public function getRevision($credential_id) {
return;
}
/**
* @NoAdminRequired
*/
public function deleteRevision($credential_id) {
return;
}
/**
* @NoAdminRequired
*/
public function uploadFile($credential_id) {
return;
}
/**
* @NoAdminRequired
*/
public function deleteFile($credential_id) {
2016-09-09 23:36:35 +08:00
return;
}
}