UserRequest.h File Reference
#include "AccessLogEntry.h"
#include "auth/AuthAclState.h"
#include "auth/Scheme.h"
#include "auth/User.h"
#include "dlink.h"
#include "helper/forward.h"
#include "HttpHeader.h"
#include "ip/Address.h"
Include dependency graph for UserRequest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AuthUserIP
 
class  Auth::UserRequest
 

Namespaces

namespace  Auth
 HTTP Authentication.
 

Macros

#define MAX_AUTHTOKEN_LEN   65535
 

Typedefs

typedef void AUTHCB(void *)
 

Enumerations

enum  Auth::Direction {
  Auth::CRED_CHALLENGE = 1 ,
  Auth::CRED_VALID = 0 ,
  Auth::CRED_LOOKUP = -1 ,
  Auth::CRED_ERROR = -2
}
 

Functions

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

◆ MAX_AUTHTOKEN_LEN

#define MAX_AUTHTOKEN_LEN   65535

Maximum length (buffer size) for token strings.

Definition at line 31 of file UserRequest.h.

Typedef Documentation

◆ AUTHCB

typedef void AUTHCB(void *)

Definition at line 57 of file UserRequest.h.

Function Documentation

◆ authenticateAuthUserRequestClearIp()

void authenticateAuthUserRequestClearIp ( Auth::UserRequest::Pointer  auth_user_request)

Definition at line 158 of file UserRequest.cc.

References Auth::User::clearIp(), and Auth::UserRequest::user().

Referenced by ACLMaxUserIP::match().

◆ authenticateAuthUserRequestIPCount()

int authenticateAuthUserRequestIPCount ( Auth::UserRequest::Pointer  auth_user_request)

Definition at line 165 of file UserRequest.cc.

References assert, Auth::User::ipcount, and Auth::UserRequest::user().

Referenced by ACLMaxUserIP::match().

◆ authenticateAuthUserRequestRemoveIp()

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

Definition at line 147 of file UserRequest.cc.

References Auth::User::removeIp(), and Auth::UserRequest::user().

Referenced by ACLMaxUserIP::match().

◆ authenticateUserAuthenticated()

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors