instances added god may help
This commit is contained in:
30
lib/Service/Auth/AuthTenantSsoGateway.php
Normal file
30
lib/Service/Auth/AuthTenantSsoGateway.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Service\Auth;
|
||||
|
||||
class AuthTenantSsoGateway
|
||||
{
|
||||
public function __construct(private readonly TenantSsoService $tenantSsoService)
|
||||
{
|
||||
}
|
||||
|
||||
public function isLocalPasswordLoginAllowed(int $tenantId): bool
|
||||
{
|
||||
return $this->tenantSsoService->isLocalPasswordLoginAllowed($tenantId);
|
||||
}
|
||||
|
||||
public function normalizeProfileSyncFields($fields): array
|
||||
{
|
||||
return $this->tenantSsoService->normalizeProfileSyncFields($fields);
|
||||
}
|
||||
|
||||
public function defaultProfileSyncFields(): array
|
||||
{
|
||||
return $this->tenantSsoService->defaultProfileSyncFields();
|
||||
}
|
||||
|
||||
public function microsoftProviderKey(): string
|
||||
{
|
||||
return $this->tenantSsoService->microsoftProviderKey();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user