Go to the documentation of this file.
29 #ifndef _OPENVAS_AUTH_H
30 #define _OPENVAS_AUTH_H
34 #include "../base/array.h"
void openvas_auth_tear_down(void)
Free memory associated to authentication configuration.
Definition: openvas_auth.c:167
int openvas_auth_ldap_enabled()
Return whether libraries has been compiled with LDAP support.
Definition: openvas_auth.c:67
@ AUTHENTICATION_METHOD_FILE
Definition: openvas_auth.h:42
authentication_method
Numerical representation of the supported authentication methods.
Definition: openvas_auth.h:40
@ AUTHENTICATION_METHOD_LAST
Definition: openvas_auth.h:45
@ AUTHENTICATION_METHOD_RADIUS_CONNECT
Definition: openvas_auth.h:44
int openvas_authenticate_classic(const gchar *, const gchar *, const gchar *)
Authenticate a credential pair against openvas user file contents.
Definition: openvas_auth.c:272
int openvas_auth_init()
Initializes Gcrypt.
Definition: openvas_auth.c:115
int openvas_auth_radius_enabled()
Return whether libraries has been compiled with RADIUS support.
Definition: openvas_auth.c:82
enum authentication_method auth_method_t
Type for the numerical representation of the supported.
Definition: openvas_auth.h:50
gchar * get_password_hashes(int, const gchar *)
Generate a pair of hashes to be used in the OpenVAS "auth/hash" file for the user.
Definition: openvas_auth.c:225
const gchar * auth_method_name(auth_method_t)
Return name of auth_method_t.
Definition: openvas_auth.c:102
gchar * digest_hex(int, const guchar *)
Generate a hexadecimal representation of a message digest.
Definition: openvas_auth.c:184
@ AUTHENTICATION_METHOD_LDAP_CONNECT
Definition: openvas_auth.h:43