29G::Pam::Pam(
const std::string & ,
const std::string & ,
bool )
38 throw Error(
"authenticate" , 0 ) ;
71 return std::string() ;
void deleteCredentials()
Deletes credentials.
void checkAccount(bool require_token)
Does "account management", checking that the authenticated user is currently allowed to use the syste...
bool authenticate(bool require_token)
Authenticates the user.
Pam(const std::string &app, const std::string &user, bool silent)
Constructor.
void refreshCredentials()
Refreshes credentials.
void openSession()
Starts a session.
void reinitialiseCredentials()
Reinitialises credentials.
virtual ~Pam()
Destructor.
std::string name() const
Returns the authenticated user name.
void closeSession()
Closes a session.
void establishCredentials()
Embues the authenticated user with their credentials, such as "tickets" in the form of environment va...