-
Notifications
You must be signed in to change notification settings - Fork 21
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
32b0c6e
commit e5c50ae
Showing
5 changed files
with
57 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
15 changes: 14 additions & 1 deletion
15
torusdirect/src/main/java/org/torusresearch/torusdirect/types/AggregateVerifierType.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,5 +1,18 @@ | ||
package org.torusresearch.torusdirect.types; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
public enum AggregateVerifierType { | ||
SINGLE_VERIFIER_ID | ||
SINGLE_VERIFIER_ID("single_verifier_id"); | ||
|
||
private String verifierType; | ||
|
||
AggregateVerifierType(String verifierType) { | ||
this.verifierType = verifierType; | ||
} | ||
|
||
@NotNull | ||
public String toString() { | ||
return verifierType; | ||
} | ||
} |
38 changes: 25 additions & 13 deletions
38
torusdirect/src/main/java/org/torusresearch/torusdirect/types/LoginType.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,17 +1,29 @@ | ||
package org.torusresearch.torusdirect.types; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
public enum LoginType { | ||
GOOGLE, | ||
FACEBOOK, | ||
REDDIT, | ||
DISCORD, | ||
TWITCH, | ||
APPLE, | ||
GITHUB, | ||
LINKEDIN, | ||
TWITTER, | ||
WEIBO, | ||
LINE, | ||
EMAIL_PASSWORD, | ||
JWT | ||
GOOGLE("google"), | ||
FACEBOOK("facebook"), | ||
REDDIT("reddit"), | ||
DISCORD("discord"), | ||
TWITCH("twitch"), | ||
APPLE("apple"), | ||
GITHUB("github"), | ||
LINKEDIN("linkedin"), | ||
TWITTER("twitter"), | ||
WEIBO("weibo"), | ||
LINE("line"), | ||
EMAIL_PASSWORD("email_password"), | ||
JWT("jwt"); | ||
private String loginType; | ||
|
||
LoginType(String loginType) { | ||
this.loginType = loginType; | ||
} | ||
|
||
@NotNull | ||
public String toString() { | ||
return loginType; | ||
} | ||
} |
17 changes: 15 additions & 2 deletions
17
torusdirect/src/main/java/org/torusresearch/torusdirect/types/TorusNetwork.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,6 +1,19 @@ | ||
package org.torusresearch.torusdirect.types; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
public enum TorusNetwork { | ||
MAINNET, | ||
TESTNET | ||
MAINNET("mainnet"), | ||
TESTNET("testnet"); | ||
|
||
private String network; | ||
|
||
TorusNetwork(String network) { | ||
this.network = network; | ||
} | ||
|
||
@NotNull | ||
public String toString() { | ||
return network; | ||
} | ||
} |