27 namespace lcb {
class Authenticator; }
235 typedef const char *(*lcb_AUTHCALLBACK)(
void *cookie,
const char *host,
const char *port,
const char *bucket);
249 lcb_AUTHCALLBACK passcb);
273 LCBAUTH_MODE_DYNAMIC = 2
lcb_AUTHENTICATOR * lcbauth_clone(const lcb_AUTHENTICATOR *src)
lcbauth_ADDPASSFLAGS
Flags to use when adding a new set of credentials to lcbauth_add_pass.
Definition: auth.h:147
lcb_error_t lcbauth_add_pass(lcb_AUTHENTICATOR *auth, const char *user, const char *pass, int flags)
lcbauth_MODE
Definition: auth.h:256
lcb_AUTHENTICATOR * lcbauth_new(void)
Opaque pointer containing credentials for the library.
void lcbauth_ref(lcb_AUTHENTICATOR *auth)
Use "bucket-specific" credentials when authenticating.
Definition: auth.h:261
lcb_error_t lcbauth_set_mode(lcb_AUTHENTICATOR *src, lcbauth_MODE mode)
lcb_error_t
Error codes returned by the library.
Definition: error.h:580
User is bucket name.
Definition: auth.h:156
User/Password is administrative; for cluster.
Definition: auth.h:149
void lcbauth_unref(lcb_AUTHENTICATOR *auth)
Use role-based access control.
Definition: auth.h:270