SHARE
TWEET

Untitled

a guest Jun 25th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { FIREBASE } from './promiseMiddleware';
  2.  
  3. export const googleLogin = (callBack) => ({
  4.   [FIREBASE]: {
  5.     withFirebase: (firebase, providers) => firebase.auth().signInWithPopup(providers.google),
  6.     types: ['GOOGLE_AUTH', 'GOOGLE_AUTH_SUCCESS', 'GOOGLE_AUTH_FAILURE'],
  7.     callBack
  8.   }
  9. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top