Skip to content

Commit

Permalink
feat: 유효하지 않은 액세스 토큰 에러 코드
Browse files Browse the repository at this point in the history
  • Loading branch information
soomanbaek committed Aug 10, 2023
1 parent 1d1bdb7 commit a4918a0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ public enum AuthErrorCode implements ErrorCode {
INVALID_PASSWORD(HttpStatus.BAD_REQUEST, "비밀번호가 일치하지 않습니다."),
NOT_EXIST_MEMBER(HttpStatus.NOT_FOUND, "아이디가 존재하지 않습니다."),
NOT_LOGIN_MEMBER(HttpStatus.FORBIDDEN, "로그인된 사용자가 아닙니다."),
INVALID_REFRESH_TOKEN(HttpStatus.FORBIDDEN, "리프레시 토큰이 유효하지 않습니다.")
INVALID_ACCESS_TOKEN(HttpStatus.UNAUTHORIZED, "액세스 토큰이 유효하지 않습니다."),
INVALID_REFRESH_TOKEN(HttpStatus.UNAUTHORIZED, "리프레시 토큰이 유효하지 않습니다.")
;

private final HttpStatus httpStatus;
Expand Down

0 comments on commit a4918a0

Please sign in to comment.