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