\App\CoreModule\ModelsAppAuthenticator

Custom Authenticator

Summary

Methods
Properties
Constants
__construct()
authenticate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$entityManager
N/A

Properties

$entityManager

$entityManager : \App\Models\Database\EntityManager

Type

normal — Entity manager

Methods

__construct()

__construct(\App\Models\Database\EntityManager  $entityManager) : mixed

Constructor

Parameters

\App\Models\Database\EntityManager $entityManager

Entity manager

Returns

mixed

authenticate()

authenticate(string[]  $credentials) : \Nette\Security\IIdentity

Authenticates the user

Parameters

string[] $credentials

Authentication credentials

Throws

\Nette\Security\AuthenticationException

Returns

\Nette\Security\IIdentity —

Nette Identity