19 lines
487 B
PHP
19 lines
487 B
PHP
<?php
|
|
|
|
namespace App\Network\Contracts;
|
|
|
|
interface DeviceDriverInterface
|
|
{
|
|
public function testConnection(): array;
|
|
|
|
public function getDeviceInfo(): array;
|
|
|
|
public function provisionBaseAccess(string $username, string $password): array;
|
|
|
|
public function syncUser(string $username, string $password, string $group, bool $enabled): array;
|
|
|
|
public function deleteUser(string $username): void;
|
|
|
|
public function cleanupLegacyUsers(string $preserveUsername): array;
|
|
}
|