this is for holding javascript data
Alec Aivazis edited How_do_we_store_the__.html
over 8 years ago
Commit id: bac2586a8b4587126b4f9bb69130526dbeee987f
deletions | additions
diff --git a/How_do_we_store_the__.html b/How_do_we_store_the__.html
index a854efb..ba98f06 100644
--- a/How_do_we_store_the__.html
+++ b/How_do_we_store_the__.html
...
How do we store
So now the authentication data that we have retrieved?
Closures to problem has changed a bit, but the rescue! Create solution is still familiar: closures! We can create a function that is available globally in the success handler of the xhr request which willwrap the value of the data returnedby the server decrypted authentication information in a read-only manner. The global scope of the closure makes the unencrypted authentication data readable by anyone who requires it
it