ara-web/src/auth
Guillaume Vincent 9e2feefb2e Support authentication
Test at startup if /api/v1/ returns 401 status code.
If yes redirect to login page, else continue.
On login save credentials (username, password) in localStorage.
On every request we set credentials in header if present.

Fixes: https://github.com/ansible-community/ara-web/issues/1

Change-Id: I0f0b18b5590dec4ebfce32aa6519bb46fc8533f5
2019-05-31 12:20:02 +02:00
..
PrivateRoute.js Support authentication 2019-05-31 12:20:02 +02:00
authActions.js Support authentication 2019-05-31 12:20:02 +02:00
authActions.test.js Support authentication 2019-05-31 12:20:02 +02:00
authActionsTypes.js Support authentication 2019-05-31 12:20:02 +02:00
authReducer.js Support authentication 2019-05-31 12:20:02 +02:00
authReducer.test.js Support authentication 2019-05-31 12:20:02 +02:00
localStorage.js Support authentication 2019-05-31 12:20:02 +02:00
localStorage.test.js Support authentication 2019-05-31 12:20:02 +02:00