-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c196e2e
commit 3191fa6
Showing
4 changed files
with
59 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 3 additions & 11 deletions
14
backend/src/main/java/com/infp/ciat/config/security/jwt/JWTVerifyResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,19 @@ | ||
package com.infp.ciat.config.security.jwt; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
/*** | ||
* JWT 유효성검사 결과 | ||
*/ | ||
@Getter | ||
@NoArgsConstructor | ||
public class JWTVerifyResult { | ||
private String user; | ||
private boolean status; | ||
|
||
@Builder | ||
public JWTVerifyResult(String user, boolean status) { | ||
public JWTVerifyResult(String user) { | ||
this.user = user; | ||
this.status = status; | ||
} | ||
|
||
public String getUser() { | ||
return user; | ||
} | ||
|
||
public boolean isStatus() { | ||
return status; | ||
} | ||
} |