sig
type level = [ `Authenticated | `Integrity | `None | `Privacy ]
type access = {
min_level : Pfs_auth.level;
users : (string * string * string * string * int) list;
}
val string_of_level : Pfs_auth.level -> string
val level_of_string : string -> Pfs_auth.level
val extract_access_config :
Netplex_types.config_file -> Netplex_types.address -> Pfs_auth.access
val privileged_user : string
val bottom_user : string
val configure_rpc_server : Rpc_server.t -> Pfs_auth.access -> unit
type client_auth = {
level : Pfs_auth.level;
proot_pw : string;
pnobody_pw : string;
}
val extract_client_config :
Netplex_types.config_file ->
Netplex_types.address -> Pfs_auth.client_auth
val rpc_proxy_auth_methods :
Pfs_auth.client_auth -> bool -> Rpc_client.auth_method list
end