'use strict' if(typeof(app)=='undefined') var app = {}; /** __ __ ( )( ) ___ ____ ____ )( )( / __)( ___)( _ \ )(__)( \__ \ )__) ) / (______)(___/(____)(_)\_) By Nike This file is part of Widgets by Nike from Nicsys (info@nicsys.eu). Widgets is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Widgets is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Get your copy of the GNU General Public License at . * @category Core * @subcategory Application */ class User { authenticationDone = false; isAuthenticated = false; identity = {}; roles = []; constructor(){ } /** * * @param {*} callBack */ checkAuthenticated(callBack){ this.authenticationDone = true this.isAuthenticated = true this.userInfo = { 'identity':{}, 'roles': [], }; callBack(); } /** * do nothing */ gotoLogin() { } /** * do nothing */ getMessageBusUserInfo() { } } app.LoadedClasses.User = User