|
|
bab4af08d9
|
Added the use of tokenToUser so that it is verified that a valid token is in the request header when doing actions that need login verification.
|
2017-09-27 16:27:05 +02:00 |
|
|
|
a3de70e2da
|
Created a middleware for requests that checks for a token in the Authentication field in the header and verifies that the token is valid for a user.
|
2017-09-27 16:25:54 +02:00 |
|
|
|
698d2d6072
|
Created endpoints for user tasks like login, register and a test endpoint history. A test for checking that session token works as expected.
|
2017-09-27 16:19:02 +02:00 |
|
|
|
6ec6c7f9cb
|
Added token, user, userRepository and userSecurity in user folder. This handles creating new users, loging in and creating a user specific token then returning it when logging in.
|
2017-09-27 16:15:28 +02:00 |
|
|
|
72654fd465
|
Added searchHistory for adding a logged in users history trace. (More like a test function of the page)
|
2017-09-27 16:13:39 +02:00 |
|
|
|
f4aee549be
|
Added bcrypt and jsonwebtoken to package list
|
2017-09-27 16:12:20 +02:00 |
|
|
|
bb6dd1ad59
|
Added middleware for authentiaction, endpoints for a user and import for token handling.
|
2017-09-27 14:02:59 +02:00 |
|