Labs/Weave/Developer/HowToWriteClient: Difference between revisions

Jump to navigation Jump to search
(Created page with '= How to Write a Mozilla Services Client = The Mozilla Services platform provides always-on, server-side services to give our users a consistent web bro…')
 
Line 13: Line 13:
The Weave service is defined using standard HTTP messages, JSON encodings, and well-defined cryptographic protocols, but your job will be much easier if you use one of the libraries.
The Weave service is defined using standard HTTP messages, JSON encodings, and well-defined cryptographic protocols, but your job will be much easier if you use one of the libraries.


Check the [[Labs/Weave/Developer/Libraries|Libraries]] page to see if your preferred language is supported yet; if not, you'll need to read the [[Labs/Weave/Developer/API|API]] pages and construct the appropriate network and cryptography calls yourself.
Check the [[Labs/Weave/Developer#Libraries|Libraries]] section to see if your preferred language is supported yet; if not, you'll need to read the [[Labs/Weave/API|API]] pages and construct the appropriate network and cryptography calls yourself.


2. In your application, securely prompt the user for their username, password, and passphrase.  If this information is to be persisted to disk, consider using encryption on it to prevent a casual attacker from gaining access to secret credentials.
2. In your application, securely prompt the user for their username, password, and passphrase.  If this information is to be persisted to disk, consider using encryption on it to prevent a casual attacker from gaining access to secret credentials.
348

edits

Navigation menu