Skip to content

Commit

Permalink
feat: Role, Provider, Status enum 추가
Browse files Browse the repository at this point in the history
related to: #11
  • Loading branch information
heejjinkim committed Sep 3, 2024
1 parent 4b2f2c7 commit 51f1553
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/main/java/com/_119/wepro/global/enums/Provider.java
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(){}
}
5 changes: 5 additions & 0 deletions src/main/java/com/_119/wepro/global/enums/Role.java
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
}
5 changes: 5 additions & 0 deletions src/main/java/com/_119/wepro/global/enums/Status.java
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
}

0 comments on commit 51f1553

Please sign in to comment.