ProxyAuth
Linux PAM to authenticate device via Bluetooth device
Functions
pam_proxy.c File Reference
#include "pam_proxy.h"
Include dependency graph for pam_proxy.c:

Go to the source code of this file.

Functions

PAM_EXTERN int pam_sm_setcred (pam_handle_t *pamh, int flags, int argc, const char **argv)
 
PAM_EXTERN int pam_sm_acct_mgmt (pam_handle_t *pamh, int flags, int argc, const char **argv)
 
PAM_EXTERN int pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
 

Function Documentation

◆ pam_sm_acct_mgmt()

PAM_EXTERN int pam_sm_acct_mgmt ( pam_handle_t *  pamh,
int  flags,
int  argc,
const char **  argv 
)

Not Used

Definition at line 7 of file pam_proxy.c.

◆ pam_sm_authenticate()

PAM_EXTERN int pam_sm_authenticate ( pam_handle_t *  pamh,
int  flags,
int  argc,
const char **  argv 
)

Handles User Authentication whether or not to approve the connected device as the hardware authenticator

Parameters
pamhthe PAM handle representing the current user authentication session
flags
argc
argv
Returns
PAM_SUCCESS iff the connected device is trusted

Definition at line 12 of file pam_proxy.c.

Here is the call graph for this function:

◆ pam_sm_setcred()

PAM_EXTERN int pam_sm_setcred ( pam_handle_t *  pamh,
int  flags,
int  argc,
const char **  argv 
)

Not Used

Definition at line 3 of file pam_proxy.c.