Man page - auth_meta(3)
Packages contas this manual
apt-get install courier-authlib-dev
Manual
| AUTH_META(3) | Double Precision, Inc. | AUTH_META(3) |
NAME
auth_meta - Authentication metadata
SYNOPSIS
#include <courierauth.h>
struct auth_meta *meta=auth_meta_init_default(void);
void auth_meta_destroy_default(struct auth_meta *meta);
DESCRIPTION
The auth_meta structure provides additional, optional metadata for auth_login_meta(3), auth_generic_meta(3), and auth_getuserinfo_meta(3).
struct auth_meta {
char **envvars;
};
Description of the above fields:
envvars
The library recognizes the following envvars variables:
TCPREMOTEIP
Initializing a default auth_meta
auth_meta_init_default creates an auth_meta with default values. A NULL pointer gets returned if the object could not be created. auth_meta_destroy_default frees the object and all memory used by it, after it is no longer needed.
Typical usage:
Default auth_meta values
auth_meta_init_default creates an auth_meta with the following values:
SEE ALSO
authlib(3)[1], auth_login_meta(3)[2], auth_generic_meta(3)[3], auth_getuserinfo_meta(3)[4]
NOTES
- 1.
- authlib(3)
- 2.
- auth_login_meta(3)
- 3.
- auth_generic_meta(3)
- 4.
- auth_getuserinfo_meta(3)
| 10/28/2020 | Double Precision, Inc. |