taskrambler
0.1.9
Web server and task management solution.
|
#include "class.h"
#include "storage/storage.h"
#include "auth.h"
#include "uuid.h"
#include "user.h"
#include "commons.h"
#include "utils/memory.h"
Go to the source code of this file.
Functions | |
static int | authStorageCtor (void *_this, va_list *params) |
static void | authStorageDtor (void *_this) |
static int | authStorageAuthenticate (void *_this, Credential cred, Uuid user_index) |
INIT_IFACE (Class, authStorageCtor, authStorageDtor, NULL) | |
INIT_IFACE (Auth, authStorageAuthenticate) | |
CREATE_CLASS (AuthStorage, NULL, IFACE(Class), IFACE(Auth)) | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file auth/storage/storage.c.
|
static |
Definition at line 50 of file auth/storage/storage.c.
References CRED_PASSWORD, CRED_PWD, FALSE, hash_pw(), HASH_SIZE, MEM_FREE, SALT_SIZE, storageGet(), and TRUE.
|
static |
Definition at line 33 of file auth/storage/storage.c.
|
static |
Definition at line 44 of file auth/storage/storage.c.
INIT_IFACE | ( | Class | , |
authStorageCtor | , | ||
authStorageDtor | , | ||
NULL | |||
) |
INIT_IFACE | ( | Auth | , |
authStorageAuthenticate | |||
) |