com.jd.blockchain.consensus.ClientAuthencationService Maven / Gradle / Ivy
package com.jd.blockchain.consensus;
/**
* 共识节点的客户端认证服务;
*
* @author huanghaiquan
*
*/
public interface ClientAuthencationService {
/**
* 对客户端的接入进行认证;
*
* @param authId
* 客户端的身份信息;
* @return 如果通过认证,则返回接入参数;如果认证失败,则返回 null;
*/
ClientIncomingSettings authencateIncoming(ClientCredential authId) throws ConsensusSecurityException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy