\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
No private properties found
N/A

Methods

__construct()

__construct(\App\CoreModule\Models\Context  database) : 

Constructor

Parameters

\App\CoreModule\Models\Context database

Database context

Returns

authenticate()

authenticate(mixed||string|int  credentials) : \App\CoreModule\Models\IIdentity

Authenticate the user

Parameters

mixed||string|int credentials

Authentication credentials

Throws

\App\CoreModule\Models\AuthenticationException

Returns

\App\CoreModule\Models\IIdentity —

Nette Identity