PHP Classes
elePHPant
Icontem

PHP Security One: Base class to authenticate an logged in users

Recommend this page to a friend!
  Info   View files Example   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-08-25 (22 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 112 This week: 5All time: 9,109 This week: 53Up
Version License PHP version Categories
securityone 1.0.0GNU Lesser Genera...5PHP 5, User Management, Security
Description Author

This package provides a base class to authenticate an logged in users.

It can process the authentication of user that logs in with a user name and a password using callback functions to perform the credentials verification and user permission checks.

A sub-class can extend the base class to implement these verifications for instance against a real database of registered users.

  Performance   Level  
Name: Jorge Castro <contact>
Classes: 14 packages by
Country: Chile Chile
Age: 43
All time rank: 19587 in Chile Chile
Week rank: 24 Up1 in Chile Chile Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

 

Details

SecurityOne

It's a barebone security class written on PHP

Packagist Total Downloads [License]() [Maintenance]() [composer]() [php]() [php]() [Doc]()

Usage

You can check a full usage (for mysql) in

EFTEC/SecurityOneMysql

Versions

  • 2018-10-27 2.1 Some maintenance changes. Now serialize() and deserialize() are public and field extraFields is functiona.
  • 2018-10-11 2.0 We changed some fields. Now address and phone fields are part of extraFields.
  • 2018-09-29 1.6 added status and cookie.
  • 2018-09-22 1.4 added role
  • 2018-09-22 1.3 some fixes
  • 2018-09-22 1.0 First version
  Files folder image Files  
File Role Description
Files folder imageexamples (4 files)
Files folder imagelib (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file 1.basiclogin.php Example Example script
  Accessible without login Plain text file 2.logged.admin.php Example Example script
  Accessible without login Plain text file 2.logged.php Example Example script
  Accessible without login Plain text file 3.logout.php Example Example script

  Files folder image Files  /  lib  
File Role Description
  Plain text file SecurityOne.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:112
This week:5
All time:9,109
This week:53Up