Jinya CMS

AuthenticationController extends BaseController
in package

Tags

Table of Contents

DEVICE_CODE_COOKIE  = 'JinyaDeviceCode'
$body  : array<string, mixed>
$badCredentialsResponse  : ResponseInterface
$logger  : LoggerInterface
$newLoginMail  : NewLoginMail
$newSavedDeviceMail  : NewSavedDeviceMail
$twoFactorMail  : TwoFactorMail
__construct()  : mixed
Creates a new LoginAction and initializes the mail factories
changePassword()  : ResponseInterface
entityNotFound()  : ResponseInterface
formatIteratorPlain()  : array<string|int, array<string, mixed>>
jsonIterator()  : ResponseInterface
jsonIteratorPlain()  : ResponseInterface
login()  : ResponseInterface
logout()  : ResponseInterface
twoFactorCode()  : ResponseInterface
validateLogin()  : ResponseInterface

Constants

public mixed DEVICE_CODE_COOKIE = 'JinyaDeviceCode'
Tags

Properties

Methods

__construct()

Creates a new LoginAction and initializes the mail factories

public __construct([NewLoginMail $newLoginMail = new NewLoginMail() ][, NewSavedDeviceMail $newSavedDeviceMail = new NewSavedDeviceMail() ][, TwoFactorMail $twoFactorMail = new TwoFactorMail() ]) : mixed
Parameters
$newLoginMail : NewLoginMail = new NewLoginMail()
$newSavedDeviceMail : NewSavedDeviceMail = new NewSavedDeviceMail()
$twoFactorMail : TwoFactorMail = new TwoFactorMail()
Tags
throws
JsonException
Return values
mixed

changePassword()

public changePassword() : ResponseInterface
Tags
throws
NotNullViolationException
throws
JsonException
Return values
ResponseInterface

entityNotFound()

public entityNotFound(string $message) : ResponseInterface
Parameters
$message : string
Tags
throws
JsonException
Return values
ResponseInterface

formatIteratorPlain()

public formatIteratorPlain(Iterator<string|int, T$iterator) : array<string|int, array<string, mixed>>
Parameters
$iterator : Iterator<string|int, T>
Tags
template

T

throws
JsonException
Return values
array<string|int, array<string, mixed>>

jsonIterator()

public jsonIterator(Iterator $iterator) : ResponseInterface
Parameters
$iterator : Iterator
Tags
throws
JsonException
Return values
ResponseInterface

jsonIteratorPlain()

public jsonIteratorPlain(Iterator $iterator) : ResponseInterface
Parameters
$iterator : Iterator
Tags
throws
JsonException
Return values
ResponseInterface

login()

public login() : ResponseInterface
Tags
throws
JsonException
throws
NotNullViolationException
throws
Exception
Return values
ResponseInterface

logout()

public logout() : ResponseInterface
Tags
codeCoverageIgnore
Return values
ResponseInterface

twoFactorCode()

public twoFactorCode() : ResponseInterface
Tags
throws
NotNullViolationException
throws
Exception
throws
Throwable
Return values
ResponseInterface

validateLogin()

public validateLogin() : ResponseInterface
Tags
codeCoverageIgnore
Return values
ResponseInterface

Search results