Push subuser creation service

This commit is contained in:
Dane Everitt 2017-08-23 21:34:11 -05:00
parent 2a5570877c
commit 74ea1aa0aa
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
23 changed files with 1077 additions and 229 deletions

View file

@ -36,6 +36,15 @@ interface ServerRepositoryInterface extends BaseRepositoryInterface
*/
public function create($id, $overrides = [], $start = false);
/**
* Set an access token and associated permissions for a server.
*
* @param string $key
* @param array $permissions
* @return \Psr\Http\Message\ResponseInterface
*/
public function setSubuserKey($key, array $permissions);
/**
* Update server details on the daemon.
*