AuthenticatorManager
in package
Class AuthenticatorManager
Tags
Table of Contents
- $AuthenticationType : array<string|int, mixed>
- $container : Container
- __construct() : mixed
- addNewAuthenticationType() : mixed
- Добавляет новый тип аутентификации
- selectServiceByType() : IAuthService
- Возвращает нужный класс аутентификации выбранный по типу
Properties
$AuthenticationType
public
array<string|int, mixed>
$AuthenticationType
$container
private
Container
$container
Methods
__construct()
public
__construct(Container $container) : mixed
Parameters
- $container : Container
Return values
mixed —addNewAuthenticationType()
Добавляет новый тип аутентификации
public
addNewAuthenticationType(string $className, string $type) : mixed
Parameters
- $className : string
- $type : string
Return values
mixed —selectServiceByType()
Возвращает нужный класс аутентификации выбранный по типу
public
selectServiceByType(string $type) : IAuthService
Parameters
- $type : string
-
Тип аутентификации