githubEdit

Croffle API

circle-info

๋กœ๊ทธ์ธ์‹œ ๋ฐœ๊ธ‰๋ฐ›๋Š” JWT ํ† ํฐ ์„ค๋ช…

JWT Token Payload

๋กœ๊ทธ์ธ API ์š”์ฒญ์‹œ ๋ฐ›์€ access_token ๋ฐ refresh_token์˜ payload

Type
Exp
Payload Keys

access_token

1h

typ, _sq, sub, iat, exp, aud, iss

refresh_token

7d

typ, _sq, sub, iat, exp, aud, iss

circle-info

_sq๊ฐ’์ด account์˜ primary key ๊ฐ’

Check JWT Token

jwt ํ† ํฐ ํ™•์ธ

How to JWT Token

Type
Header
Where?

access_token

Authentication: Bearer {access_token}

๋กœ๊ทธ์ธ, ํšŒ์›๊ฐ€์ž… ์ œ์™ธํ•œ API

refresh_token

Authentication: Bearer {refresh_token}

refresh ์š”์ฒญ API

circle-info

refresh_token ์š”์ฒญ์‹œ access_token ์žฌ๋ฐœ๊ธ‰

Last updated