*/ public function list(): array; public function activate( int $id ): bool; public function revoke( int $id ): bool; public function update_last_ping( int $id ): bool; public function set_remote_permissions( int $id, int $allow_pull ): bool; public function delete( int $id ): bool; /** * Decrypts and returns the stored remote token. * * @throws \RuntimeException If decryption fails. */ public function get_remote_token( object $connection ): string; }