#include <QueueNode.h>

Collaboration diagram for Auth::QueueNode:

Public Member Functions

 QueueNode (Auth::UserRequest *aRequest, AUTHCB *aHandler, void *aData)
 
 ~QueueNode ()
 

Public Attributes

Auth::QueueNodenext
 
Auth::UserRequest::Pointer auth_user_request
 
AUTHCBhandler
 
void * data
 

Private Member Functions

 MEMPROXY_CLASS (Auth::QueueNode)
 
 QueueNode (const QueueNode &)
 
QueueNodeoperator= (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]

Auth::QueueNode::QueueNode ( const QueueNode )
private

◆ QueueNode() [2/2]

Auth::QueueNode::QueueNode ( Auth::UserRequest aRequest,
AUTHCB aHandler,
void *  aData 
)
inline

Definition at line 39 of file QueueNode.h.

◆ ~QueueNode()

Auth::QueueNode::~QueueNode ( )
inline

Definition at line 44 of file QueueNode.h.

References cbdataReferenceDone, data, and next.

Member Function Documentation

◆ MEMPROXY_CLASS()

Auth::QueueNode::MEMPROXY_CLASS ( Auth::QueueNode  )
private

◆ operator=()

QueueNode & Auth::QueueNode::operator= ( const QueueNode )
private

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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors