cn.hyperchain.sdk.service.AuthService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of litesdk Show documentation
Show all versions of litesdk Show documentation
A Java client tool for Hyperchain
package cn.hyperchain.sdk.service;
import cn.hyperchain.sdk.request.Request;
import cn.hyperchain.sdk.response.auth.AddressesResponse;
import cn.hyperchain.sdk.response.auth.InspectorRulesResponse;
import cn.hyperchain.sdk.response.auth.Response;
import cn.hyperchain.sdk.response.auth.RolesResponse;
import cn.hyperchain.sdk.service.params.InspectorRuleParam;
import java.util.List;
public interface AuthService {
Request getAllRoles(int ...nodeIds);
Request getRolesByAddress(String address, int ...nodeIds);
Request getAddressByRole(String role, int ...nodeIds);
Request addRoles(String address, List roles, int ...nodeIds);
Request deleteRoles(String address, List roles, int ...nodeIds);
Request setRules(List rules, int ...nodeIds);
Request getRules(int ...nodeIds);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy