WvStreams
Public Member Functions | Public Attributes | List of all members
WvPam Class Reference

Public Member Functions

 WvPam (WvStringParm svcname)
 Start up PAM (presumably you will want to call authenticate() later.
 
 WvPam (WvStringParm svcname, WvStringParm rhost, WvStringParm user=WvString::null, WvStringParm password=WvString::null)
 Start up PAM, and authenticate user from rhost with password.
 
bool authenticate (WvStringParm rhost=WvString::null, WvStringParm user=WvString::null, WvStringParm password=WvString::null)
 Authenticate the user from rhost with password.
 
void getgroups (WvStringList &groups) const
 Get the groups that the currently sessioned user is logged in with.
 
WvString getuser () const
 Get the user's name.
 

Public Attributes

WvError err
 Check here to see if the user is validated or not.
 

Detailed Description

Definition at line 21 of file wvpam.h.


The documentation for this class was generated from the following files: