class type auth_method =object..end
method name : stringThe name of the authentication method
method flavors : string listWhich credential flavors are handled by this method
method peek : auth_peekerIf available, this function is called for every accepted connection. It may return the user name. Notes:
authenticatepeek is only called once after the stream connection has been
acceptedmethod authenticate : t ->
connection_id ->
auth_details -> (auth_result -> unit) -> unitauthenticate 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 -> unitRemoves all auth sessions for this connection
method invalidate : unit -> unitRemove all auth sessions