public ProtoMessage CreateAuthorizationResponse(string clientMsgId = null) { return(CreateMessage((uint)ProtoOAPayloadType.OA_AUTH_RES, ProtoOAAuthRes.CreateBuilder().Build().ToByteString(), clientMsgId)); }
public ProtoOAAuthRes GetAuthorizationResponse(byte[] msg = null) { return(ProtoOAAuthRes.CreateBuilder().MergeFrom(GetPayload(msg)).Build()); }
public ProtoMessage CreateAuthorizationResponse(string clientMsgId = null) { var _msg = new ProtoOAAuthRes(); return(CreateMessage((uint)ProtoOAPayloadType.OA_AUTH_RES, Utils.Serialize <ProtoOAAuthRes>(_msg), clientMsgId)); }