Ferreteria/v0.5/login
< Ferreteria | v0.5
Jump to navigation
Jump to search
About
The login feature consists of several filesets:
- data (login) - core data and storage I/O classes
- dropin (dropins/login) - admin display I/O
- status (login/status.php) - login status class
- (TBD) - form widgets
Process
Currently just taking notes on how this works while fixing it...
logging in
(Session Native Row)->UserLogin($sUser,$sPass)
- → (Account Feature)
->AuthorizeLogin($sUser,$sPass)
- → (Account Storage Row)
->AuthorizeLogin($sUser,$sPass)
- → (Account Storage Row)
(Session Feature)->UserIsLoggedIn()
- →
NativeRow()->UserIsLoggedIn()
accessing login status
Example: cMenuLink->FigureIfAuthorized()
in tree/items/MenuLink.php
- This is called once per object from
ftRequiresPermit->OnRunCalculations()
in tree/items/traits.php.