- Introduced tests for OIDC app creation, including validation for access URL formatting. - Updated enums and services to streamline application type and protocol handling. - Added `accessUrl` support across backend, services, and UI to enhance app functionality and user accessibility. - Refactored and commented out unused enum values and providers to improve maintainability.
23 lines
494 B
PHP
23 lines
494 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\Ui\Dashboard;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
class ServiceAppDto extends Data
|
|
{
|
|
public function __construct(
|
|
public int $id,
|
|
public string $name,
|
|
public string $slug,
|
|
public string $duration,
|
|
public int $days_remaining,
|
|
public bool $is_warning,
|
|
public ?string $protocol_name = null,
|
|
public ?string $provider_slug = null,
|
|
public ?string $accessUrl = null,
|
|
) {}
|
|
}
|