initial commit
[squeep-authentication-module] / lib / enum.js
diff --git a/lib/enum.js b/lib/enum.js
new file mode 100644 (file)
index 0000000..8f2471a
--- /dev/null
@@ -0,0 +1,17 @@
+'use strict';
+
+const { mergeDeep, freezeDeep } = require('./common');
+const { Enum: DingusEnum } = require('@squeep/api-dingus');
+
+const Enum = mergeDeep(DingusEnum, {
+  Header: {
+    Authorization: 'Authorization',
+    Cookie: 'Cookie',
+    Location: 'Location',
+    SetCookie: 'Set-Cookie',
+    WWWAuthenticate: 'WWW-Authenticate',
+  },
+  SessionCookie: 'squeepSession',
+});
+
+module.exports = freezeDeep(Enum);