35 AuthStorage
this = _this;
37 this->store = va_arg(*params, Storage);
52 AuthStorage
this = _this;
55 unsigned char * found_hash = NULL;
56 size_t nfound_hash = 0;
64 (
char *)(user_index->uuid).value,
65 sizeof((user_index->uuid).value),
static void authStorageDtor(void *_this)
static int authStorageAuthenticate(void *_this, Credential cred, Uuid user_index)
INIT_IFACE(Class, authStorageCtor, authStorageDtor, NULL)
void storageGet(Storage, char *, size_t, char **, size_t *)
CREATE_CLASS(AuthStorage, NULL, IFACE(Class), IFACE(Auth))
static int authStorageCtor(void *_this, va_list *params)
int hash_pw(const char *, const size_t, unsigned char *, unsigned char **)