PHP Classes

CrossAuth: Authenticate users in multiple domains at once

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,328 All time: 2,912 This week: 455Up
Version License Categories
cross_auth 1.0.0GNU General Publi...PHP 5, User Management


This class can be used to authenticate users in multiple domains at once.

It generates HTML with Javascript tags for one domain that also submits the same user name and password to the authentication page of another domain when the user is successfully authenticated in the main domain.

The class does not perform the actual verification of the submitted user name and password. It just provides means to specify an external callback function that can be customized to perform that verification.

Innovation Award
PHP Programming Innovation award nominee
August 2006
Number 9
Authentication is a basic step necessary to identify users that want to access restricted resources.

Sometimes, users need to access resources in multiple sites on which they have accounts with the same user name and password.

This class provides a solution that lets an user authenticate on multiple sites entering the user name and password only once.

Manuel Lemos
Picture of Victor Bolshov
  Performance   Level  
Name: Victor Bolshov <contact>
Classes: 10 packages by
Country: Russian Federation Russian Federation
Age: 45
All time rank: 42211 in Russian Federation Russian Federation
Week rank: 161 Up9 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imageexample (3 files)
Plain text file CrossAuth.php Class CrossAuth class

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file auth_check.php Example usage example
  Accessible without login Plain text file auth_form.php Example usage example
  Accessible without login Plain text file README.txt Doc. README for the usage example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,912
This week:455Up