-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Role, Provider, Status enum 추가
related to: #11
- Loading branch information
1 parent
4b2f2c7
commit 51f1553
Showing
3 changed files
with
27 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com._119.wepro.global.enums; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public enum Provider { | ||
KAKAO("https://kauth.kakao.com/.well-known/jwks.json"), | ||
//TODO apple jwk set uri 세팅하기 | ||
APPLE("https://kauth.kakao.com/.well-known/jwks.json"), | ||
; | ||
|
||
private final String jwkSetUrl; | ||
|
||
// public static IdentityProvider of(){} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com._119.wepro.global.enums; | ||
|
||
public enum Role { | ||
ADMIN, USER, GUEST | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com._119.wepro.global.enums; | ||
|
||
public enum Status { | ||
ACTIVE, INACTIVE | ||
} |