cfmgrv4 init...10
This commit is contained in:
parent
d9026b41f3
commit
e34e07ebc8
@ -13,7 +13,10 @@ class AuthService extends CommonService
|
||||
private ?Session $_session = null;
|
||||
private ?UserModel $_model = null;
|
||||
|
||||
public function __construct() {}
|
||||
public function __construct(string $class_name, string $class_path)
|
||||
{
|
||||
parent::__construct($class_name, $class_path);
|
||||
}
|
||||
|
||||
final public function getSession(): Session
|
||||
{
|
||||
|
||||
@ -14,7 +14,7 @@ class GoogleService extends AuthService
|
||||
public function __construct(mixed $mySocket)
|
||||
{
|
||||
$this->_mySocket = $mySocket;
|
||||
parent::__construct();
|
||||
parent::__construct("Google", class_path: "Google");
|
||||
}
|
||||
|
||||
public function getMySocket(string $access_code): mixed
|
||||
|
||||
@ -8,7 +8,7 @@ class LocalService extends AuthService
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
parent::__construct("Local", class_path: "Local");
|
||||
}
|
||||
|
||||
public function checkUser(array $formDatas): UserEntity
|
||||
|
||||
Loading…
Reference in New Issue
Block a user