├── .babelrc ├── .bookignore ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── LICENSE.txt ├── README.md ├── SUMMARY.md ├── _layouts └── website │ └── page.html ├── book.json ├── docs ├── API.md ├── AdvancedUsage │ ├── OtherRouters.md │ ├── ReactRouter3.md │ └── Redux.md ├── Getting-Started │ ├── HidingAlternate.md │ ├── NestingWrappers.md │ ├── Overview.md │ ├── ReactNative.md │ ├── ReactRouter3.md │ └── ReactRouter4.md ├── Migrating.md └── Troubleshooting.md ├── examples ├── react-router-3 │ ├── .babelrc │ ├── README.md │ ├── actions │ │ └── user.js │ ├── app.js │ ├── auth.js │ ├── components │ │ ├── Admin.js │ │ ├── App.js │ │ ├── Foo.js │ │ ├── Home.js │ │ ├── Loading.js │ │ ├── Login.js │ │ └── index.js │ ├── constants.js │ ├── index.html │ ├── package.json │ ├── reducers │ │ ├── index.js │ │ └── user.js │ ├── webpack.config.babel.js │ └── yarn.lock └── react-router-4 │ ├── .babelrc │ ├── README.md │ ├── actions │ └── user.js │ ├── app.js │ ├── auth.js │ ├── components │ ├── Admin.js │ ├── App.css │ ├── App.js │ ├── Home.js │ ├── Loading.js │ ├── Login.js │ └── Protected.js │ ├── constants.js │ ├── index.html │ ├── package.json │ ├── reducers │ ├── index.js │ └── user.js │ ├── webpack.config.babel.js │ └── yarn.lock ├── package.json ├── runTests.sh ├── src ├── authWrapper.js ├── connectedAuthWrapper.js ├── helper │ └── redirect.js ├── history3 │ ├── locationHelper.js │ └── redirect.js ├── history4 │ ├── locationHelper.js │ └── redirect.js ├── index.js └── redirect.js ├── test ├── authWrapper-test.js ├── helpers.js ├── init.js ├── redirectBase-test.js ├── rrv3-test.js └── rrv4-test.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/.babelrc -------------------------------------------------------------------------------- /.bookignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/.bookignore -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | **/node_modules/* 2 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/README.md -------------------------------------------------------------------------------- /SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/SUMMARY.md -------------------------------------------------------------------------------- /_layouts/website/page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/_layouts/website/page.html -------------------------------------------------------------------------------- /book.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/book.json -------------------------------------------------------------------------------- /docs/API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/API.md -------------------------------------------------------------------------------- /docs/AdvancedUsage/OtherRouters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/AdvancedUsage/OtherRouters.md -------------------------------------------------------------------------------- /docs/AdvancedUsage/ReactRouter3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/AdvancedUsage/ReactRouter3.md -------------------------------------------------------------------------------- /docs/AdvancedUsage/Redux.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/AdvancedUsage/Redux.md -------------------------------------------------------------------------------- /docs/Getting-Started/HidingAlternate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/Getting-Started/HidingAlternate.md -------------------------------------------------------------------------------- /docs/Getting-Started/NestingWrappers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/Getting-Started/NestingWrappers.md -------------------------------------------------------------------------------- /docs/Getting-Started/Overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/Getting-Started/Overview.md -------------------------------------------------------------------------------- /docs/Getting-Started/ReactNative.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/Getting-Started/ReactNative.md -------------------------------------------------------------------------------- /docs/Getting-Started/ReactRouter3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/Getting-Started/ReactRouter3.md -------------------------------------------------------------------------------- /docs/Getting-Started/ReactRouter4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/Getting-Started/ReactRouter4.md -------------------------------------------------------------------------------- /docs/Migrating.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/Migrating.md -------------------------------------------------------------------------------- /docs/Troubleshooting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/docs/Troubleshooting.md -------------------------------------------------------------------------------- /examples/react-router-3/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/.babelrc -------------------------------------------------------------------------------- /examples/react-router-3/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/README.md -------------------------------------------------------------------------------- /examples/react-router-3/actions/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/actions/user.js -------------------------------------------------------------------------------- /examples/react-router-3/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/app.js -------------------------------------------------------------------------------- /examples/react-router-3/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/auth.js -------------------------------------------------------------------------------- /examples/react-router-3/components/Admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/components/Admin.js -------------------------------------------------------------------------------- /examples/react-router-3/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/components/App.js -------------------------------------------------------------------------------- /examples/react-router-3/components/Foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/components/Foo.js -------------------------------------------------------------------------------- /examples/react-router-3/components/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/components/Home.js -------------------------------------------------------------------------------- /examples/react-router-3/components/Loading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/components/Loading.js -------------------------------------------------------------------------------- /examples/react-router-3/components/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/components/Login.js -------------------------------------------------------------------------------- /examples/react-router-3/components/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/components/index.js -------------------------------------------------------------------------------- /examples/react-router-3/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/constants.js -------------------------------------------------------------------------------- /examples/react-router-3/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/index.html -------------------------------------------------------------------------------- /examples/react-router-3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/package.json -------------------------------------------------------------------------------- /examples/react-router-3/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/reducers/index.js -------------------------------------------------------------------------------- /examples/react-router-3/reducers/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/reducers/user.js -------------------------------------------------------------------------------- /examples/react-router-3/webpack.config.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/webpack.config.babel.js -------------------------------------------------------------------------------- /examples/react-router-3/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-3/yarn.lock -------------------------------------------------------------------------------- /examples/react-router-4/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/.babelrc -------------------------------------------------------------------------------- /examples/react-router-4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/README.md -------------------------------------------------------------------------------- /examples/react-router-4/actions/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/actions/user.js -------------------------------------------------------------------------------- /examples/react-router-4/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/app.js -------------------------------------------------------------------------------- /examples/react-router-4/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/auth.js -------------------------------------------------------------------------------- /examples/react-router-4/components/Admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/components/Admin.js -------------------------------------------------------------------------------- /examples/react-router-4/components/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/components/App.css -------------------------------------------------------------------------------- /examples/react-router-4/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/components/App.js -------------------------------------------------------------------------------- /examples/react-router-4/components/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/components/Home.js -------------------------------------------------------------------------------- /examples/react-router-4/components/Loading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/components/Loading.js -------------------------------------------------------------------------------- /examples/react-router-4/components/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/components/Login.js -------------------------------------------------------------------------------- /examples/react-router-4/components/Protected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/components/Protected.js -------------------------------------------------------------------------------- /examples/react-router-4/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/constants.js -------------------------------------------------------------------------------- /examples/react-router-4/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/index.html -------------------------------------------------------------------------------- /examples/react-router-4/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/package.json -------------------------------------------------------------------------------- /examples/react-router-4/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/reducers/index.js -------------------------------------------------------------------------------- /examples/react-router-4/reducers/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/reducers/user.js -------------------------------------------------------------------------------- /examples/react-router-4/webpack.config.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/webpack.config.babel.js -------------------------------------------------------------------------------- /examples/react-router-4/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/examples/react-router-4/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/package.json -------------------------------------------------------------------------------- /runTests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/runTests.sh -------------------------------------------------------------------------------- /src/authWrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/src/authWrapper.js -------------------------------------------------------------------------------- /src/connectedAuthWrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/src/connectedAuthWrapper.js -------------------------------------------------------------------------------- /src/helper/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/src/helper/redirect.js -------------------------------------------------------------------------------- /src/history3/locationHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/src/history3/locationHelper.js -------------------------------------------------------------------------------- /src/history3/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/src/history3/redirect.js -------------------------------------------------------------------------------- /src/history4/locationHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/src/history4/locationHelper.js -------------------------------------------------------------------------------- /src/history4/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/src/history4/redirect.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/src/redirect.js -------------------------------------------------------------------------------- /test/authWrapper-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/test/authWrapper-test.js -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/test/helpers.js -------------------------------------------------------------------------------- /test/init.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/test/init.js -------------------------------------------------------------------------------- /test/redirectBase-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/test/redirectBase-test.js -------------------------------------------------------------------------------- /test/rrv3-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/test/rrv3-test.js -------------------------------------------------------------------------------- /test/rrv4-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/test/rrv4-test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mjrussell/redux-auth-wrapper/HEAD/yarn.lock --------------------------------------------------------------------------------