PHP Classes

Tiny Auth: Authenticate users with records stored in MySQL

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 531 All time: 5,651 This week: 455Up
Version License PHP version Categories
tiny-auth 1.0GNU Lesser Genera...5.4PHP 5, Databases, User Management
Description 

Author

This class can authenticate users with records stored in MySQL.

It can connect to a MySQL database using the PDO extension and executes a SQL query to verify whether a given user and password are from a valid users and the password is correct.

If found, the class initializes a few session variables with the user account and role information.

The class can also check if the session variables are set to determine if the user is logged. In that case, the class can logout the user by clearing the session variables.

Picture of Andrey Gadyukov
Name: Andrey Gadyukov <contact>
Classes: 1 package by
Country: Kazakhstan Kazakhstan

 

Screenshots (4)  
  • er_diag
  • example/er_diagram.png
  • screenshot1
  • screenshot2
  Files folder image Files (9)  
File Role Description
Files folder imageexample (3 files)
Plain text file db.php Class Database abstract connection class
Plain text file TinyAuth.php Class TinyAuth class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:531
This week:0
All time:5,651
This week:455Up