30 lines
612 B
PHP
30 lines
612 B
PHP
<?php
|
|
|
|
namespace KTXC\Models\Tenant;
|
|
|
|
use KTXF\Json\JsonSerializableObject;
|
|
|
|
/**
|
|
* Tenant Configuration
|
|
*/
|
|
class TenantConfiguration extends JsonSerializableObject
|
|
{
|
|
protected TenantAuthentication $authentication;
|
|
protected TenantSecurity $security;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->authentication = new TenantAuthentication();
|
|
$this->security = new TenantSecurity();
|
|
}
|
|
|
|
public function authentication(): TenantAuthentication {
|
|
return $this->authentication;
|
|
}
|
|
|
|
public function security(): TenantSecurity {
|
|
return $this->security;
|
|
}
|
|
|
|
}
|