Add seed code for sdnr app based on ONF Centennial
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / dlux / dlux-web / src / common / authentification / auth.module.js
diff --git a/sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/dlux-web/src/common/authentification/auth.module.js b/sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/dlux-web/src/common/authentification/auth.module.js
new file mode 100644 (file)
index 0000000..ec953e4
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2014 Inocybe Technologies, and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+define(['angular', './auth.services', 'common/config/env.module'], function (angular, services) {
+  'use strict';
+  var auth = angular.module('app.common.auth', ['config']);
+
+  // services
+  auth.factory('Auth', services.Auth);
+  auth.factory('Base64', services.Base64);
+  auth.factory('NbInterceptor', services.NbInterceptor);
+
+  return auth;
+});