[Back-end] Authentification
회원가입
userId에 대해 중복 여부를 확인합니다
GET
http://localhost:8000/api/auth/check/{userId}
Path Parameters
Name
Type
Description
userId*
String
유저ID
회원가입을 요청합니다.
POST
http://localhost:8000/api/auth/signup
Request Body
Name
Type
Description
password*
String
사용자 비밀번호
confirmPassword*
String
사용자 비밀번호 확인
name*
String
사용자 이름
id*
String
사용자 아이디
로그인
로그인을 요청합니다.
POST
http://localhost:8000/api/auth/login
Request Body
Name
Type
Description
id*
String
사용자 아이디
password*
String
사용자 비밀번호
JWT
JWT 토큰 유효성을 확인합니다.
GET
http://localhost:8000/api/auth/check
Headers
Name
Type
Description
jwt
String
JWT 토큰
JWT 토큰 유효성과 사용자 권한에 따른 상태를 반환합니다.
GET
http://localhost:8000/api/auth/status
Headers
Name
Type
Description
jwt
String
JWT 토큰
게시글의 작성자와 토큰 유저ID가 동일한지 확인합니다.
GET
http://localhost:8000/api/permission
Headers
Name
Type
Description
jwt
String
JWT 토큰
Last updated