PHP Класс Webiny\Component\Security\User\Providers\Memory\Memory

This provider is used when user accounts are defined inside the system configuration (hard-coded).
Наследование: implements Webiny\Component\Security\User\UserProviderInterface, use trait Webiny\Component\StdLib\StdLibTrait
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Constructor.
getUser ( Login $login ) : AbstractUser Get the user from user provided for the given instance of Login object.

Приватные методы

Метод Описание
addUsers ( array $users ) : boolean Check user data and, if valid, store them.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( )

getUser() публичный Метод

NOTE: The method gets the users based on his username only, password is not verified, this is part of the authentication process.
public getUser ( Login $login ) : AbstractUser
$login Webiny\Component\Security\Authentication\Providers\Login Instance of Login object.
Результат Webiny\Component\Security\User\AbstractUser