/*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#ifndef SQUID_AUTH_DIGEST_SCHEME_H
#define SQUID_AUTH_DIGEST_SCHEME_H
+#if HAVE_AUTH_MODULE_DIGEST
+
#include "auth/Scheme.h"
namespace Auth
namespace Digest
{
-/// \ingroup AuthSchemeAPI
/// \ingroup AuthAPI
class Scheme : public Auth::Scheme
{
/* per scheme */
virtual char const *type () const;
virtual void shutdownCleanup();
- virtual Auth::Config *createConfig();
+ virtual Auth::SchemeConfig *createConfig();
/* Not implemented */
Scheme(Scheme const &);
private:
static Auth::Scheme::Pointer _instance;
- /**
- * Remove all cached user credentials from circulation.
- * Intended for use during shutdown procedure.
- * After calling this all newly received credentials must be re-authenticated.
- */
- static void PurgeCredentialsCache(void);
};
} // namespace Digest
} // namespace Auth
+#endif /* HAVE_AUTH_MODULE_DIGEST */
#endif /* SQUID_AUTH_DIGEST_SCHEME_H */
+