All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.hyperchain.sdk.service.AuthService Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
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