SuiteCRM-Core/core/modules/Users/Service/AuthenticationService.php

34 lines
675 B
PHP
Raw Normal View History

2021-03-30 19:12:01 +01:00
<?php
namespace SuiteCRM\Core\Modules\Users\Service;
use SuiteCRM\Core\Module\Service\ServiceFactoryInterface;
use SuiteCRM\Core\Modules\Users\Helper\Authentication;
class AuthenticationService implements ServiceFactoryInterface
{
/**
* @return string
*/
public function getName(): string
{
return 'users.authentication';
}
/**
* @return string
*/
public function getDescription(): string
{
return 'This service will deal with legacy authentication';
}
/**
* @return Authentication
*/
public function createService(): Authentication
{
return new Authentication();
}
}