Created
February 23, 2012 01:23
-
-
Save diorahman/1889012 to your computer and use it in GitHub Desktop.
Process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Login Process | |
1. Open IndexPage [Browser] <- [http] <- [PHPServer] | |
2. Serve 'login web widget' (Facebook, Twitter) [Browser] <- [http] <- [PHPServer][http] | |
3. Send user credentials (username, password) to service (Facebook, Twitter) [Browser] -> [https] -> [ServicesServer] | |
4. Receive valid access token [PHPServer] <- [https] <- [ServiceServer] | |
5. Send valid user access token (Facebook: access_token, Twitter: key/secret token pair) [PHPServer] -> [http] -> [LynxAppServer] | |
- params: | |
type : ServiceServer's name, i.e. facebook, twitter | |
token : User's valid access token from ServiceServer | |
6. Receive valid LynxUserToken [PHPServer] <- [http] <- [LynxAppServer] | |
7. Generate SessionID for user and send it to SecureLynxAppServer, alongside with received token [PHPServer] -> [https] -> [SecureLynxAppServer] | |
#Logout Process | |
1. Send SessionID and LynxUserToken to [PHPServer] -> [https] -> [SecureLynxAppServer] | |
2. Receive logout confirmation [PHPServer] <- [https] <- [SecureLynxAppServer] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment