File Reference
#include "squid.h"
#include "STUB.h"
#include "auth/SchemeConfig.h"
#include "auth/Gadgets.h"
#include "auth/Scheme.h"
#include <vector>
#include "auth/SchemesConfig.h"
#include "auth/User.h"
#include "auth/UserRequest.h"
#include "AuthReg.h"
Include dependency graph for

Go to the source code of this file.


 HTTP Authentication.


#define STUB_API   "auth/"


int authenticateActiveSchemeCount (void)
int authenticateSchemeCount (void)
void authenticateInit (Auth::ConfigVector *)
void authenticateRotate (void)
void authenticateReset (void)
void authenticateAuthUserRequestRemoveIp (Auth::UserRequest::Pointer, Ip::Address const &)
void authenticateAuthUserRequestClearIp (Auth::UserRequest::Pointer)
int authenticateAuthUserRequestIPCount (Auth::UserRequest::Pointer)
int authenticateUserAuthenticated (Auth::UserRequest::Pointer)

Macro Definition Documentation


#define STUB_API   "auth/"

Definition at line 11 of file

Function Documentation

◆ authenticateActiveSchemeCount()

int authenticateActiveSchemeCount ( void  )

Definition at line 25 of file

References debugs, HERE(), and Auth::TheConfig.

◆ authenticateAuthUserRequestClearIp()

void authenticateAuthUserRequestClearIp ( Auth::UserRequest::Pointer  )

Definition at line 65 of file

References NULL, and Auth::UserRequest::user().

◆ authenticateAuthUserRequestIPCount()

int authenticateAuthUserRequestIPCount ( Auth::UserRequest::Pointer  )

Definition at line 66 of file

References assert, NULL, and Auth::UserRequest::user().

◆ authenticateAuthUserRequestRemoveIp()

void authenticateAuthUserRequestRemoveIp ( Auth::UserRequest::Pointer  ,
Ip::Address const &   

Definition at line 64 of file

References Auth::UserRequest::user().

◆ authenticateInit()

void authenticateInit ( Auth::ConfigVector )

Definition at line 27 of file

References authenticateRegisterWithCacheManager().

◆ authenticateReset()

void authenticateReset ( void  )

Remove all idle authentication state. Intended for use by reconfigure.

Removes the username cache contents and global configuration state. Stops just short of detaching the auth components completely.

Currently active requests should finish. Howevee new requests will not use authentication unless something causes the global config to be rebuilt. Such as a configure load action adding config and re-running authenticateInit().

Definition at line 29 of file

References authenticateRotate(), debugs, Auth::Config::schemes, and Auth::TheConfig.

◆ authenticateRotate()

void authenticateRotate ( void  )

Definition at line 28 of file

References Auth::TheConfig.

◆ authenticateSchemeCount()

int authenticateSchemeCount ( void  )

Definition at line 26 of file

References debugs, Auth::Scheme::GetSchemes(), and HERE().

◆ authenticateUserAuthenticated()






Web Site Translations