PHP Classes

File: example/README.txt

Recommend this page to a friend!
  Classes of Victor Bolshov   CrossAuth   example/README.txt   Download  
File: example/README.txt
Role: Documentation
Content type: text/plain
Description: README for the usage example
Class: CrossAuth
Authenticate users in multiple domains at once
Author: By
Last change:
Date: 16 years ago
Size: 902 bytes


Class file image Download
CrossAuth Example. ========================================================================== 1. Problem. We have a domain ( ) where we *do* have an authorization form. We want the user to be automagically authorized on another domain ( ) once he/she has been authorized on 2. Solution. 2.1. Place auth_form.php somewhere on (in this example it is supposed to be in 2.2. Place auth_check.php somewhere on (in this example it is supposed to be in 2.3. That's it! Now, once the user has been authorized on, he/she becomes automagically authorized on *** NOTE *** : of course, you'll have to implement your own login/password verification mechanism, as well as userID/passwordHash approving function - instead of dummy "fake_approval" used in auth_check.php