39#ifndef __DigestAuthenticator_h
40#define __DigestAuthenticator_h
142#define DigestAuthenticator_setLoginTracker(o,loginTracker) \
143 (o)->tracker=loginTracker
149#define DigestAuthenticator_setFilterMsDomain(o, state) \
150 (o)->filterMsDomain=state
162#define DigestAuthenticator_setStrictMode(o, enableStrictMode) \
163 (o)->strictMode=enableStrictMode
void setLoginTracker(LoginTracker *tracker)
Configure login-attempt tracking.
Definition: DigestAuthenticator.h:172
static int setAutHeader(const char *realm, HttpResponse *response)
Sets an HTTP Digest authentication challenge and status code.
Definition: DigestAuthenticator.h:175
BA_API int DigestAuthenticator_setAutHeader(const char *, HttpResponse *)
C form of DigestAuthenticator::setAutHeader.
void setStrictMode(bool enableStrictMode=false)
Control repeated Digest validation for an authenticated session.
Definition: DigestAuthenticator.h:178
BA_API void DigestAuthenticator_constructor(DigestAuthenticator *o, UserIntf *userDbIntf, const char *realm, LoginRespIntf *sendLogin)
C form of DigestAuthenticator::DigestAuthenticator.
#define DigestAuthenticator_setLoginTracker(o, loginTracker)
C form of DigestAuthenticator::setLoginTracker.
Definition: DigestAuthenticator.h:142
#define DigestAuthenticator_setStrictMode(o, enableStrictMode)
Control repeated Digest validation for an authenticated session.
Definition: DigestAuthenticator.h:162
BA_API void DigestAuthenticator_destructor(DigestAuthenticator *o)
Release authenticator-owned realm storage after detaching all users.
U8 BaBool
Boolean stored in an unsigned byte; FALSE is zero and TRUE is one.
Definition: GenPrimT.h:118
Abstract base class implemented by BasicAuthUser, FormAuthUser and DigestAuthUser.
Definition: AuthenticatedUser.h:272
Abstract interface class implemented by DigestAuthenticator, FormAuthenticator and BasicAuthenticator...
Definition: AuthenticatedUser.h:425
Implements HTTP Digest authentication.
Definition: DigestAuthenticator.h:57
DigestAuthenticator()
Leave storage uninitialized; call DigestAuthenticator_constructor before use.
Definition: DigestAuthenticator.h:59
This object is used when sending response messages back to the client.
Definition: HttpServer.h:1379
The LoginRespIntf is an abstract class, which must be implemented when using one of DigestAuthenticat...
Definition: AuthenticatedUser.h:504
The LoginTracker class is an optional security enhancement that can be installed in an instance of on...
Definition: AuthenticatedUser.h:891
User database interface used by the authentication classes.
Definition: AuthenticatedUser.h:195