package pam
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Pam
Source
Pam
contains functions that interface to the PAM library.
t
is an abstract type representing pam_handle_t
in the C-library
Source
val pam_start :
service:string ->
user:string ->
conv:((Pam_conv.Message.t, string) Core.Result.t list -> Pam_conv.Result.t) ->
t Core.Or_error.t
pam_start
initiates a pam transaction. This function works like its C-version except that it calls pam_end
on a failure. This should make it easier to chain pam operations in the caller code.