From d7512ace72448242b392299cf459c9c72c8dbee5 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Fri, 11 Aug 2017 14:48:42 +0300 Subject: Get Google authentication flow working --- src/actions/auth.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/actions/auth.js (limited to 'src/actions') 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 + }; +}; -- cgit v1.2.3