- Removed inline data definitions from multiple dashboard components for roles, users, and connected apps, replacing them with service-based computed properties. - Added comprehensive debug and error-level logging throughout `SamlIdpService` and related controllers to improve traceability of SAML flows. - Cleaned up and centralized SAML-related logic, improving maintainability and error handling consistency. - Deleted unused `hr-permission.blade.php` component to reduce code redundancy.
21 lines
391 B
PHP
21 lines
391 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\Ui\Dashboard;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
final class DashboardStatsData extends Data
|
|
{
|
|
/**
|
|
* Create a new DashboardStatsData instance.
|
|
*/
|
|
public function __construct(
|
|
public int $totalUsers,
|
|
public int $activeRoles,
|
|
public int $servicesCount,
|
|
public int $revokedTodayCount,
|
|
) {}
|
|
}
|