module Mapred_auth:Authentication in server contextsig
..end
type
access = {
|
users : |
(* | The RPC users with passwords. Incoming connections can log in
as any of these users.
The tuple is:
| *) |
val extract_access_config : Netplex_types.config_file -> Netplex_types.address -> access
access {
user { name = "name"; password = "pw" };
(* more users possible *)
}
If this section is missing, the empty list of users is reported.
It is possible to use password_file
instead of password
to
read the password from the first line of a given file (relative
to the config file).
val configure_rpc_server : Rpc_server.t -> access -> unit
The procedure 0 is handled specially here and never requires
authentication.
val get_client_auth : Plasma_client.plasma_cluster -> string
val rpc_proxy_auth_methods : string -> Rpc_client.auth_method list
mclient_auth_methods
field.
The arg is the authentication ticket.