mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 01:48:50 +00:00
Completed functions schema
This commit is contained in:
parent
29b7a9f4c1
commit
48323ed9af
@ -186,6 +186,31 @@ var ComunicWeb = {
|
||||
* Login tokens storage controller
|
||||
*/
|
||||
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
|
||||
},
|
||||
},
|
||||
|
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
ComunicWeb.user.loginTokens = {
|
||||
|
||||
/**
|
||||
* Set User tokens
|
||||
*
|
||||
|
9
assets/js/user/userLogin.js
Normal file
9
assets/js/user/userLogin.js
Normal file
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Manage user login
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
ComunicWeb.user.userLogin = {
|
||||
|
||||
}
|
@ -45,6 +45,7 @@ $config['JSfiles'] = array(
|
||||
|
||||
//User scripts
|
||||
"%PATH_ASSETS%js/user/loginTokens.js",
|
||||
"%PATH_ASSETS%js/user/userLogin.js",
|
||||
|
||||
//Init script
|
||||
"%PATH_ASSETS%js/init.js",
|
||||
|
Loading…
Reference in New Issue
Block a user