GuestProcsRec:
TYPE =
RECORD [
IsGuestProcess: PROC [] RETURNS [isGuest: BOOL],
GetState: PROC RETURNS [UserCredentials.State],
ChangeState: PROC [new: UserCredentials.State] RETURNS [old: UserCredentials.State],
Login: PROC [
startInteraction: PROC RETURNS [in, out: STREAM],
endInteraction: PROC [in, out: STREAM],
options: UserCredentials.LoginOptions ← UserCredentials.defaultOptions
],
Get: PROC RETURNS [name, password: ROPE]
];