233 typedef const char *(*lcb_AUTHCALLBACK)(
void *cookie,
const char *host,
const char *port,
const char *bucket);
247 lcb_AUTHCALLBACK passcb);
271 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:149
lcb_STATUS lcbauth_set_mode(lcb_AUTHENTICATOR *src, lcbauth_MODE mode)
lcb_STATUS
Error codes returned by the library.
Definition: error.h:210
lcbauth_MODE
Definition: auth.h:254
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:259
User is bucket name.
Definition: auth.h:158
User/Password is administrative; for cluster.
Definition: auth.h:151
void lcbauth_unref(lcb_AUTHENTICATOR *auth)
Use role-based access control.
Definition: auth.h:268
lcb_STATUS lcbauth_add_pass(lcb_AUTHENTICATOR *auth, const char *user, const char *pass, int flags)