| 1 | <?php |
||
| 5 | class SshKey extends \Acquia\Rest\Element |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $idColumn = 'id'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | 3 | public function id() |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | 3 | public function publicKey() |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 3 | public function nickname() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Indicates whether this key has access to the shell. |
||
| 38 | * |
||
| 39 | * @return bool |
||
| 40 | * TRUE if this key can access the shell; FALSE otherwise. |
||
| 41 | */ |
||
| 42 | 3 | public function shellAccess() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * Indicates whether this key has access to the VCS repository. |
||
| 49 | * |
||
| 50 | * @return bool |
||
| 51 | * TRUE if this key can access the VCS repository; FALSE otherwise. |
||
| 52 | */ |
||
| 53 | 3 | public function vcsAccess() |
|
| 57 | |||
| 58 | /** |
||
| 59 | * Indicates the names of the environments this key does not have access to. |
||
| 60 | * |
||
| 61 | * @return string[] |
||
| 62 | * An array of environment names this key cannot access. |
||
| 63 | */ |
||
| 64 | 3 | public function blacklist() |
|
| 68 | } |
||
| 69 |