mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
34 lines
675 B
PHP
34 lines
675 B
PHP
|
<?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();
|
||
|
}
|
||
|
}
|