BootCamp_Codestates/Sprint Review
Authentication Cookie
Nomad Kim
2021. 1. 23. 21:24
가장 중요한 부분?
로그인 요청시 데이터 베이스에 해당 사용자 존재하면, 쿠키에 id 와 옵션을 담아 보내준다.

유저정보 요청시 쿠키에 id 가 존재할 경우, 해당하는 유저 정보를 보내준다.

로그아웃 요청시 cookie id 를 확인하고 있으면 해당 쿠키를 제거한다.
