All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.authentication.restServerAuthService.js Maven / Gradle / Ivy

(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 - 2024 Weber Informatics LLC | Privacy Policy