Apache2
mod_auth.h File Reference

Authentication and Authorization Extension for Apache. More...

#include "apr_pools.h"
#include "apr_hash.h"
#include "apr_optional.h"
#include "httpd.h"
#include "http_config.h"
Include dependency graph for mod_auth.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  authn_provider
 
struct  authn_provider_list
 
struct  autht_provider
 
struct  autht_provider_list
 
struct  authz_provider
 

Macros

#define AUTHT_PROVIDER_GROUP   "autht"
 
#define AUTHN_PROVIDER_GROUP   "authn"
 
#define AUTHZ_PROVIDER_GROUP   "authz"
 
#define AUTHT_PROVIDER_VERSION   "0"
 
#define AUTHN_PROVIDER_VERSION   "0"
 
#define AUTHZ_PROVIDER_VERSION   "0"
 
#define AUTHT_DEFAULT_PROVIDER   "jwt"
 
#define AUTHN_DEFAULT_PROVIDER   "file"
 
#define AUTHT_PROVIDER_NAME_NOTE   "autht_provider_name"
 
#define AUTHN_PROVIDER_NAME_NOTE   "authn_provider_name"
 
#define AUTHZ_PROVIDER_NAME_NOTE   "authz_provider_name"
 
#define AUTHT_PREFIX   "TOKEN_"
 
#define AUTHN_PREFIX   "AUTHENTICATE_"
 
#define AUTHZ_PREFIX   "AUTHORIZE_"
 
#define SATISFY_ALL   0
 
#define SATISFY_ANY   1
 
#define SATISFY_NOSPEC   2
 

Typedefs

typedef struct authn_provider_list authn_provider_list
 
typedef struct autht_provider_list autht_provider_list
 

Enumerations

enum  authn_status {
  AUTH_DENIED , AUTH_GRANTED , AUTH_USER_FOUND , AUTH_USER_NOT_FOUND ,
  AUTH_GENERAL_ERROR , AUTH_HANDLED
}
 
enum  autht_status {
  AUTHT_DENIED = AUTH_DENIED , AUTHT_GRANTED = AUTH_GRANTED , AUTHT_GENERAL_ERROR = AUTH_GENERAL_ERROR , AUTHT_MISMATCH ,
  AUTHT_EXPIRED , AUTHT_INVALID
}
 
enum  authz_status {
  AUTHZ_DENIED , AUTHZ_GRANTED , AUTHZ_NEUTRAL , AUTHZ_GENERAL_ERROR ,
  AUTHZ_DENIED_NO_USER
}
 

Functions

void ap_authn_cache_store (request_rec *, const char *, const char *, const char *, const char *)
 

Detailed Description

Authentication and Authorization Extension for Apache.

Macro Definition Documentation

◆ AUTHN_DEFAULT_PROVIDER

#define AUTHN_DEFAULT_PROVIDER   "file"

◆ AUTHN_PREFIX

#define AUTHN_PREFIX   "AUTHENTICATE_"

◆ AUTHN_PROVIDER_GROUP

#define AUTHN_PROVIDER_GROUP   "authn"

◆ AUTHN_PROVIDER_NAME_NOTE

#define AUTHN_PROVIDER_NAME_NOTE   "authn_provider_name"

◆ AUTHN_PROVIDER_VERSION

#define AUTHN_PROVIDER_VERSION   "0"

◆ AUTHT_DEFAULT_PROVIDER

#define AUTHT_DEFAULT_PROVIDER   "jwt"

◆ AUTHT_PREFIX

#define AUTHT_PREFIX   "TOKEN_"

◆ AUTHT_PROVIDER_GROUP

#define AUTHT_PROVIDER_GROUP   "autht"

◆ AUTHT_PROVIDER_NAME_NOTE

#define AUTHT_PROVIDER_NAME_NOTE   "autht_provider_name"

◆ AUTHT_PROVIDER_VERSION

#define AUTHT_PROVIDER_VERSION   "0"

◆ AUTHZ_PREFIX

#define AUTHZ_PREFIX   "AUTHORIZE_"

◆ AUTHZ_PROVIDER_GROUP

#define AUTHZ_PROVIDER_GROUP   "authz"

◆ AUTHZ_PROVIDER_NAME_NOTE

#define AUTHZ_PROVIDER_NAME_NOTE   "authz_provider_name"

◆ AUTHZ_PROVIDER_VERSION

#define AUTHZ_PROVIDER_VERSION   "0"

◆ SATISFY_ALL

#define SATISFY_ALL   0

all of the requirements must be met

◆ SATISFY_ANY

#define SATISFY_ANY   1

any of the requirements must be met

◆ SATISFY_NOSPEC

#define SATISFY_NOSPEC   2

There are no applicable satisfy lines

Typedef Documentation

◆ authn_provider_list

◆ autht_provider_list

Enumeration Type Documentation

◆ authn_status

Enumerator
AUTH_DENIED 
AUTH_GRANTED 
AUTH_USER_FOUND 
AUTH_USER_NOT_FOUND 
AUTH_GENERAL_ERROR 
AUTH_HANDLED 

◆ autht_status

Enumerator
AUTHT_DENIED 
AUTHT_GRANTED 
AUTHT_GENERAL_ERROR 
AUTHT_MISMATCH 
AUTHT_EXPIRED 
AUTHT_INVALID 

◆ authz_status

Enumerator
AUTHZ_DENIED 
AUTHZ_GRANTED 
AUTHZ_NEUTRAL 
AUTHZ_GENERAL_ERROR 
AUTHZ_DENIED_NO_USER 

Function Documentation

◆ ap_authn_cache_store()

void ap_authn_cache_store ( request_rec ,
const char *  ,
const char *  ,
const char *  ,
const char *   
)