25 #ifndef APACHE_MOD_AUTH_H
26 #define APACHE_MOD_AUTH_H
39 #define AUTHT_PROVIDER_GROUP "autht"
40 #define AUTHN_PROVIDER_GROUP "authn"
41 #define AUTHZ_PROVIDER_GROUP "authz"
42 #define AUTHT_PROVIDER_VERSION "0"
43 #define AUTHN_PROVIDER_VERSION "0"
44 #define AUTHZ_PROVIDER_VERSION "0"
45 #define AUTHT_DEFAULT_PROVIDER "jwt"
46 #define AUTHN_DEFAULT_PROVIDER "file"
48 #define AUTHT_PROVIDER_NAME_NOTE "autht_provider_name"
49 #define AUTHN_PROVIDER_NAME_NOTE "authn_provider_name"
50 #define AUTHZ_PROVIDER_NAME_NOTE "authz_provider_name"
52 #define AUTHT_PREFIX "TOKEN_"
53 #define AUTHN_PREFIX "AUTHENTICATE_"
54 #define AUTHZ_PREFIX "AUTHORIZE_"
65 #ifndef SATISFY_NOSPEC
66 #define SATISFY_NOSPEC 2
102 const char *password);
110 const char *realm,
char **rethash);
150 const void *parsed_require_line);
160 const void **parsed_require_line);
173 const char*,
const char*));
APR-UTIL registration of functions exported by modules.
struct require_line require_line
Definition: http_core.h:311
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
Definition: apr_optional.h:50
request_rec * r
Definition: mod_dav.h:518
autht_status
Definition: mod_auth.h:78
@ AUTHT_GENERAL_ERROR
Definition: mod_auth.h:81
@ AUTHT_DENIED
Definition: mod_auth.h:79
@ AUTHT_GRANTED
Definition: mod_auth.h:80
@ AUTHT_EXPIRED
Definition: mod_auth.h:83
@ AUTHT_MISMATCH
Definition: mod_auth.h:82
@ AUTHT_INVALID
Definition: mod_auth.h:84
authz_status
Definition: mod_auth.h:87
@ AUTHZ_DENIED
Definition: mod_auth.h:88
@ AUTHZ_GENERAL_ERROR
Definition: mod_auth.h:91
@ AUTHZ_DENIED_NO_USER
Definition: mod_auth.h:92
@ AUTHZ_NEUTRAL
Definition: mod_auth.h:90
@ AUTHZ_GRANTED
Definition: mod_auth.h:89
void ap_authn_cache_store(request_rec *, const char *, const char *, const char *, const char *)
authn_status
Definition: mod_auth.h:69
@ AUTH_GRANTED
Definition: mod_auth.h:71
@ AUTH_DENIED
Definition: mod_auth.h:70
@ AUTH_HANDLED
Definition: mod_auth.h:75
@ AUTH_USER_FOUND
Definition: mod_auth.h:72
@ AUTH_GENERAL_ERROR
Definition: mod_auth.h:74
@ AUTH_USER_NOT_FOUND
Definition: mod_auth.h:73
Definition: mod_auth.h:117
authn_provider_list * next
Definition: mod_auth.h:120
const authn_provider * provider
Definition: mod_auth.h:119
const char * provider_name
Definition: mod_auth.h:118
Definition: mod_auth.h:95
Definition: mod_auth.h:135
autht_provider_list * next
Definition: mod_auth.h:138
const autht_provider * provider
Definition: mod_auth.h:137
const char * provider_name
Definition: mod_auth.h:136
Definition: mod_auth.h:123
Definition: mod_auth.h:141
Definition: http_config.h:288
A structure that represents the current request.
Definition: httpd.h:856