class type auth_method =object
..end
method name : string
method flavors : string list
method peek : auth_peeker
authenticate
peek
is only called once after the stream connection has been
acceptedmethod authenticate : t ->
connection_id ->
auth_details -> (auth_result -> unit) -> unit
authenticate srv conn_id details f
:
This method is called when a remote call has arrived. Its task is
to determine the client user and pass the user name (and the verifier)
back. If the user cannot be authenticated, the call must be rejected.
When the method has done the authentication, it calls the passed
function f
with the auth_result
. This function can be called
immediately or asynchronously.
Changed in Ocamlnet-3.3: the arguments program
, version
,
procedure
, and xid
are new. Added new auth_result
of
Auth_reply
.
method invalidate_connection : connection_id -> unit
method invalidate : unit -> unit