]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/auth/basic/User.h
2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef _SQUID_AUTH_BASIC_USER_H
10 #define _SQUID_AUTH_BASIC_USER_H
12 #include "auth/User.h"
13 #include "auth/UserRequest.h"
24 /** User credentials for the Basic authentication protocol */
25 class User
: public Auth::User
27 MEMPROXY_CLASS(Auth::Basic::User
);
30 User(Auth::Config
*, const char *requestRealm
);
32 bool authenticated() const;
35 /** Update the cached password for a username. */
36 void updateCached(User
*from
);
37 virtual int32_t ttl() const;
44 Auth::UserRequest::Pointer currentRequest
;
50 #endif /* _SQUID_AUTH_BASIC_USER_H */