2021-03-30 19:12:01 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace SuiteCRM\Core\Modules\Users\Service;
|
|
|
|
|
2019-12-24 16:47:16 +00:00
|
|
|
use SuiteCRM\Core\Base\Module\Service\ServiceFactoryInterface;
|
2021-03-30 19:12:01 +01:00
|
|
|
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();
|
|
|
|
}
|
2019-12-24 16:47:16 +00:00
|
|
|
}
|