module Rpc_auth_local:Return the authentication methodsig
..end
AUTH_LOCAL
.
Note that you need another authentication method that operates at
message level (like AUTH_NONE, AUTH_SYS, AUTH_DH), otherwise you will
get an error Auth_too_weak
. AUTH_LOCAL
overrides the result of the
other authentication method.
val server_auth_method : unit -> Rpc_server.auth_method
AUTH_LOCAL
.
Note that you need another authentication method that operates at
message level (like AUTH_NONE, AUTH_SYS, AUTH_DH), otherwise you will
get an error Auth_too_weak
. AUTH_LOCAL
overrides the result of the
other authentication method.
val get_peer_credentials : Unix.file_descr -> int * int
Invalid_argument
if it is not available for this
operating system.val peek_peer_credentials : Unix.file_descr -> int * int
Invalid_argument
if it is not available for this
operating system.
The exception Not_found
is raised if the credentials cannot be
extracted from the control block.
peek_peer_credentials
seems to be more portable than
get_peer_credentials
.