Logo Search packages:      
Sourcecode: schroot version File versions  Download package

auth::status auth::get_auth_status (  )  const [protected, virtual]

Check if authentication is required. This default implementation always requires authentication.

Reimplemented in dchroot::session, and sbuild::session.

Definition at line 673 of file sbuild-auth.cc.

References change_auth(), STATUS_NONE, and STATUS_USER.

Referenced by authenticate().

{
  status authtype = STATUS_NONE;

  authtype = change_auth(authtype, STATUS_USER);

  return authtype;
}


Generated by  Doxygen 1.6.0   Back to index