\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
createTable()
$table
N/A

Properties

$table

$table : \Nette\Database\Table\Selection

Type

\Nette\Database\Table\Selection — Database table selection

Methods

__construct()

__construct(\Nette\Database\Context  $database) : mixed

Constructor

Parameters

\Nette\Database\Context $database

Database context

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

createTable()

createTable(\Nette\Database\Context  $database) : void

Creates the database table

Parameters

\Nette\Database\Context $database

Database context