XNSCredentials.mesa
Copyright Ó 1989, 1990, 1991, 1992 by Xerox Corporation. All rights reserved.
Willie-Sue Orr, February 15, 1990 2:38:46 pm PST
Willie-s, March 27, 1992 5:12 pm PST
DIRECTORY
Commander USING [Handle],
Rope USING [ROPE],
XNSAuth USING [Identity];
XNSCredentials:
CEDAR
DEFINITIONS ~ {
Identity: TYPE ~ XNSAuth.Identity;
GetIdentity:
PROC
RETURNS [Identity];
may return NIL
SetIdentity:
PROC[XNSAuth.Identity];
XNSLoginFromNameAndPassword:
PROC[name, password: Rope.
ROPE,
strongCredentials:
BOOL ¬
TRUE]
RETURNS[identityWasSet: BOOL];
DoLogin: PROC[cmd: Commander.Handle, strongCredentials: BOOL ¬ TRUE]
RETURNS[identityWasSet: BOOL];
XNSCredentialsChangeProc:
TYPE =
PROC [new: XNSAuth.Identity, clientData:
REF
ANY];
RegisterForChange:
PROC [proc: XNSCredentialsChangeProc, clientData:
REF
ANY ¬
NIL];