authenticate method
Implementation
authenticate(int seqid, TProtocol iprot, TProtocol oprot) async {
authenticate_args args = new authenticate_args();
args.read(iprot);
iprot.readMessageEnd();
authenticate_result result = new authenticate_result();
result.success = await iface_.authenticate(
args.username ?? Int8List(0), args.password ?? Int8List(0));
oprot.writeMessageBegin(
new TMessage("authenticate", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.trans_.flush();
}