mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
SuiteCRM 8 initial commit
This commit is contained in:
commit
c895877b7e
547 changed files with 40449 additions and 0 deletions
34
core/modules/Users/Service/AuthenticationService.php
Normal file
34
core/modules/Users/Service/AuthenticationService.php
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?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();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue