-
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.
Merge pull request #31 from torusresearch/update
fix: jitpack
- Loading branch information
Showing
3 changed files
with
27 additions
and
30 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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
jdk: | ||
- openjdk11 | ||
install: | ||
- ./gradlew :sdk:build :sdk:publishToMavenLocal |
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
25 changes: 7 additions & 18 deletions
25
sdk/src/main/java/org/torusresearch/customauth/types/AggregateVerifierParams.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,41 +1,30 @@ | ||
package org.torusresearch.customauth.types; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
import org.torusresearch.torusutils.types.VerifyParams; | ||
|
||
public class AggregateVerifierParams { | ||
private VerifyParams[] verify_params; | ||
private String[] sub_verifier_ids; | ||
private String verifier_id; | ||
|
||
public VerifyParams[] getVerify_params() { | ||
return verify_params; | ||
public AggregateVerifierParams(@NotNull VerifyParams[] verifyParams, @NotNull String[] subVerifierIds, @NotNull String verifierId) { | ||
this.verify_params = verifyParams; | ||
this.sub_verifier_ids = subVerifierIds; | ||
this.verifier_id = verifierId; | ||
} | ||
|
||
public void setVerify_params(VerifyParams[] verify_params) { | ||
this.verify_params = verify_params; | ||
} | ||
|
||
public void setVerifyParamItem(VerifyParams verify_param, int index) { | ||
this.verify_params[index] = verify_param; | ||
public VerifyParams[] getVerify_params() { | ||
return verify_params; | ||
} | ||
|
||
public String[] getSub_verifier_ids() { | ||
return sub_verifier_ids; | ||
} | ||
|
||
public void setSub_verifier_ids(String[] sub_verifier_ids) { | ||
this.sub_verifier_ids = sub_verifier_ids; | ||
} | ||
|
||
public void setSubVerifierIdItem(String sub_verifier_id, int index) { | ||
this.sub_verifier_ids[index] = sub_verifier_id; | ||
} | ||
|
||
public String getVerifier_id() { | ||
return verifier_id; | ||
} | ||
|
||
public void setVerifier_id(String verifier_id) { | ||
this.verifier_id = verifier_id; | ||
} | ||
} |