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
 

Contents

Class file image Download
CrossAuth Example. ========================================================================== 1. Problem. We have a domain ( form.com ) where we *do* have an authorization form. We want the user to be automagically authorized on another domain ( check.com ) once he/she has been authorized on form.com 2. Solution. 2.1. Place auth_form.php somewhere on form.com (in this example it is supposed to be in form.com/auth_form.php). 2.2. Place auth_check.php somewhere on check.com. (in this example it is supposed to be in check.com/auth_check.php). 2.3. That's it! Now, once the user has been authorized on form.com/auth_form.php, he/she becomes automagically authorized on check.com *** 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