Skip to content

zeroth-experiments/CodeNameX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SERVER
Auth: (use the user key to get an application key for a particular session)
1) app checks whether there is an application key stored internally
2) if not ,  asks the user for username and password
3) App send username pass to server
4) if user pass is correct, serv send a random app key which is stored by the app key...
5) if user pass is wrong .. app destroyed any current app keys that the app has
6) if the app send the server and app key only then .. the sev checks it against the db .. if its valid then user is authenticaed
7)if its valid .. but a session time has been exceed .. the serv sends in a new application key


Database:
    couchdb

Language:
  Node Js.

Releases

No releases published

Packages

No packages published