summaryrefslogtreecommitdiff
path: root/src/actions/auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/auth.js')
-rw-r--r--src/actions/auth.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/actions/auth.js b/src/actions/auth.js
new file mode 100644
index 00000000..f54563ae
--- /dev/null
+++ b/src/actions/auth.js
@@ -0,0 +1,15 @@
+export const COMPLETE_LOGIN = "COMPLETE_LOGIN";
+export const LOG_OUT = "LOG_OUT";
+
+export const completeLogin = (payload) => {
+ return {
+ type: COMPLETE_LOGIN,
+ payload
+ };
+};
+
+export const logOut = () => {
+ return {
+ type: LOG_OUT
+ };
+};