js.authentication.restServerAuthService.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openmuc-webui-base Show documentation
Show all versions of openmuc-webui-base Show documentation
WebUI base for the OpenMUC framework.
(function(){
var injectParams = ['AuthService'];
var RestServerAuthService = function(AuthService) {
this.getAuthHash = function() {
if (AuthService.isLoggedIn) {
return AuthService.getRestAuth();
}
};
};
RestServerAuthService.$inject = injectParams;
angular.module('openmuc.auth').service('RestServerAuthService', RestServerAuthService);
})();
© 2015 - 2025 Weber Informatics LLC | Privacy Policy