Completed functions schema

This commit is contained in:
Pierre 2017-01-28 18:43:30 +01:00
parent 29b7a9f4c1
commit 48323ed9af
4 changed files with 36 additions and 0 deletions

View File

@ -186,6 +186,31 @@ var ComunicWeb = {
* Login tokens storage controller * Login tokens storage controller
*/ */
loginTokens: { loginTokens: {
/**
* Set User tokens
*/
setUserTokens: function(tokens, storageType){},
/**
* Check if there is any login tokens available
*/
checkLoginTokens: function(){},
/**
* Get login tokens
*/
getLoginTokens: function(){},
/**
* Perform user logout
*/
deleteLoginTokens: function(){},
},
/**
* Manage user login
*/
userLogin: {
//TODO: implement //TODO: implement
}, },
}, },

View File

@ -6,6 +6,7 @@
*/ */
ComunicWeb.user.loginTokens = { ComunicWeb.user.loginTokens = {
/** /**
* Set User tokens * Set User tokens
* *

View File

@ -0,0 +1,9 @@
/**
* Manage user login
*
* @author Pierre HUBERT
*/
ComunicWeb.user.userLogin = {
}

View File

@ -45,6 +45,7 @@ $config['JSfiles'] = array(
//User scripts //User scripts
"%PATH_ASSETS%js/user/loginTokens.js", "%PATH_ASSETS%js/user/loginTokens.js",
"%PATH_ASSETS%js/user/userLogin.js",
//Init script //Init script
"%PATH_ASSETS%js/init.js", "%PATH_ASSETS%js/init.js",