#include <QueueNode.h>
Public Member Functions | |
QueueNode (Auth::UserRequest *aRequest, AUTHCB *aHandler, void *aData) | |
~QueueNode () | |
Public Attributes | |
Auth::QueueNode * | next |
Auth::UserRequest::Pointer | auth_user_request |
AUTHCB * | handler |
void * | data |
Private Member Functions | |
MEMPROXY_CLASS (Auth::QueueNode) | |
QueueNode (const QueueNode &) | |
QueueNode & | operator= (const QueueNode &) |
Detailed Description
A queue of auth requests waiting for verification to occur.
Certain authentication schemes such a Basic and Bearer auth permit credentials tokens to be repeated from multiple sources simultaneously. This queue node allows multiple validation queries to be collapsed into one backend helper lookup. CBDATA and handlers stored in these queue nodes can be notified all at once with a result when the lookup completes.
Definition at line 29 of file QueueNode.h.
Constructor & Destructor Documentation
◆ QueueNode() [1/2]
|
private |
◆ QueueNode() [2/2]
|
inline |
Definition at line 39 of file QueueNode.h.
◆ ~QueueNode()
|
inline |
Definition at line 44 of file QueueNode.h.
References cbdataReferenceDone, data, and next.
Member Function Documentation
◆ MEMPROXY_CLASS()
|
private |
◆ operator=()
Member Data Documentation
◆ auth_user_request
Auth::UserRequest::Pointer Auth::QueueNode::auth_user_request |
Definition at line 55 of file QueueNode.h.
◆ data
void* Auth::QueueNode::data |
Definition at line 57 of file QueueNode.h.
Referenced by ~QueueNode().
◆ handler
AUTHCB* Auth::QueueNode::handler |
Definition at line 56 of file QueueNode.h.
◆ next
Auth::QueueNode* Auth::QueueNode::next |
Definition at line 54 of file QueueNode.h.
Referenced by ~QueueNode().
The documentation for this class was generated from the following file:
- src/auth/QueueNode.h