using System.Threading.Tasks; namespace ZB.MOM.WW.CBDDC.Network.Security; public interface IAuthenticator { /// /// Validates an authentication token for a node identifier. /// /// The node identifier to validate. /// The authentication token to validate. /// if the token is valid for the node; otherwise . Task ValidateAsync(string nodeId, string token); }