chickadee » 9p » auth

auth message bind-fid! reply! error!procedure

This corresponds to a 9P Tauth request. The message is a list of three elements, the fid to bind to the authentication protocol connection, the user name, and the tree name. If the server does not require authentication, it should call the error! callback with a string such as "No authentication required". If it does require authentication, it should bind the fid to an authentication connection by calling bind-fid! with a suitable value for the initial state of the authentication protocol, and call reply! with list containing a single element, a qid of type QTAUTH.

The default implementation returns an error indicating that authentication is not required.