diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-25 14:52:44 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-25 14:52:44 -0400 |
| commit | 365e6c93c1a57bb45d2ea274218378f642b4d425 (patch) | |
| tree | 6b22b1a9e26a9fa8883e3148f0547dbb3404cd7e /StoneIsland/www/js/sdk/auth.js | |
| parent | 7acf0f1f7f7af782981e6001370f46c4dd7460d2 (diff) | |
split up api
Diffstat (limited to 'StoneIsland/www/js/sdk/auth.js')
| -rw-r--r-- | StoneIsland/www/js/sdk/auth.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/StoneIsland/www/js/sdk/auth.js b/StoneIsland/www/js/sdk/auth.js new file mode 100644 index 00000000..d2375aca --- /dev/null +++ b/StoneIsland/www/js/sdk/auth.js @@ -0,0 +1,14 @@ +sdk.auth = (function(){ + var auth = {} + + // integrate keychain/cordova.file.externalRootDirectory api + + auth.set_user = function(access_token, api_key){ + // persist user data + } + auth.get_user = function(cb){ + // fetch user data + } + + return auth +})()
\ No newline at end of file |
