diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-10-21 18:58:22 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-10-21 18:58:22 -0400 |
| commit | fffc000bd73b740318762747c07aa39adca1313a (patch) | |
| tree | 641fabd47937419d023a50471514a4f47177d36b /StoneIsland/platforms/ios/www/js/sdk/auth.js | |
| parent | 2812b73724ed5fded35fa9b7fd383a6ce481e51a (diff) | |
stub in proxy
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/sdk/auth.js')
| -rw-r--r-- | StoneIsland/platforms/ios/www/js/sdk/auth.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/StoneIsland/platforms/ios/www/js/sdk/auth.js b/StoneIsland/platforms/ios/www/js/sdk/auth.js index 911da902..cea0054c 100644 --- a/StoneIsland/platforms/ios/www/js/sdk/auth.js +++ b/StoneIsland/platforms/ios/www/js/sdk/auth.js @@ -10,26 +10,24 @@ var auth = (function(){ var auth = {} - auth.appname = "{API-TEST}" - auth.apikey = "{API-KEY}" + auth.appname = is_iphone ? "native-iphone-stoneisland/1.0.0" : "native-android-stoneisland/1.0.0" + auth.apikey = "U2FsdGVkX18fThqg9bF0/ZgE9Jg948hn8O9EXli4B2729nAESCQaexv//M5+7+za" auth.device = "smartphone" auth.access_token = "" auth.user_id = -1 - auth.name = name // ios: integrate keychain api // android: cordova.file.externalRootDirectory api - auth.set_user = function(user_id, access_token, name){ + auth.set_user = function(user_id, access_token){ // persist user data auth.user_id = user_id auth.access_token = access_token - auth.name = name } auth.get_user = function(cb){ // fetch user data } return auth -})()
\ No newline at end of file +})() |
