- Removed legacy Outlook integration, including views, controllers, and models. - Introduced Microsoft Entra ID OAuth flows with enhanced permission checks and token management. - Migrated database structure: replaced `outlook_tokens` table with `oauth_tokens` table for multi-provider support. - Added comprehensive tests for Entra ID federation, including connection flow, token refresh, and permission checks. - Standardized OAuth implementation using `EntraController` and consolidated token models into `OauthToken`.
22 lines
452 B
PHP
22 lines
452 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,
|
|
) {}
|
|
}
|