Skip to content

Commit

Permalink
[docs] spring security function flow 작성
Browse files Browse the repository at this point in the history
관련 이슈 : #185
  • Loading branch information
suhyeon7497 committed Nov 14, 2024
1 parent a8c465c commit d58c90e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
> 7. [**_Contributor_**](#contributor)
> 8. [**_Repository Info_**](#repository-info)
> 9. [**_개발 기간_**](#development-term)
> 10. [**_Main Dependency Version_**](#main-dependency-version)
> 10. [**_Dependency 버전_**](#main-dependency-version)
> 11. [**_Tech Stack_**](#tech-stack)
> 12. [**_기능 흐름_**](#function-flow)
> 13. [**_Example Usage_**](#example-usage)
Expand Down Expand Up @@ -250,6 +250,11 @@ _https://www.notion.so/API-9e96d1ef1475414b861a50d0e4ca366e_

## Function Flow

- ### Spring Security
- 로그인 시, jwt로 accessToken과 refreshToken을 Cookie에 담아줍니다.
- refreshToken은 redis에 저장되어 RTR (Refresh Token Rotation)을 구현하였습니다.
- 모든 요청 AuthorizationFilter에서 Cookie에 있는 토큰이 유효한지 확인하고, 유효하면 Authenticate합니다.

## Example Usage

> 나중에 시연 영상 첨부하기

0 comments on commit d58c90e

Please sign in to comment.