11 object(Moodle,"Moodle:LMS");
13 object(Mahara,"Mahara:PLE");
19 begin_frame(Moodle,F,"consume courselink");
20 message(A,Mahara,"click courselink"); active(Mahara);step(); inactive(Mahara);
21 message(Mahara,ECS,"hash:=POST:sys/auths");active(Mahara);active(ECS);step();inactive(Mahara);inactive(ECS);
22 message(A,Moodle,"redirect(params)"); active(Moodle);step();
23 message(Moodle,ECS,"auth:=DELETE:sys/auths/<hash>");active(ECS);step();inactive(ECS);
24 message(Moodle,Moodle,"check auth token"); step();
25 message(Moodle,Moodle,"check security hash"); step();
27 message(Moodle,A,"*provide course");step();
28 inactive(Moodle);step();
31 begin_frame(Moodle,F,"send status");
34 message(Moodle,ECS,"POST:cc/member_status");
35 comment(ECS,C1,down 0.5 left 0.3, wid 1.8 ht .5 "we always POST here" "because we DELETE" "there (nonpersistent)");
36 active(ECS); step(); inactive(ECS); inactive(Moodle);
38 message(Mahara,ECS,"*POST:sys/events/fifo"); active(Mahara); active(ECS); step(); inactive(Mahara); inactive(ECS);
40 message(Mahara,ECS,"DELETE:cc/member_status/<id>");
41 connect_to_comment(ECS,C1);
42 active(Mahara); active(ECS); step(); inactive(ECS);
44 message(Mahara,Mahara,"update status"); inactive(Mahara); step();
47 # Complete the lifelines