3#if !defined(ORG_FOSSIL_SCM_FSL_AUTH_H_INCLUDED)
4#define ORG_FOSSIL_SCM_FSL_AUTH_H_INCLUDED
21#if defined(__cplusplus)
52 char const * zPw,
char const * zProjCode );
101 char const * zPasswd,
fsl_id_t * pId);
118#if defined(__cplusplus)
FSL_EXPORT char * fsl_repo_login_group_name(fsl_cx *const f)
Fetches the login group name (if any) for the given context's current repositorty db.
FSL_EXPORT char * fsl_sha1_shared_secret(fsl_cx *const f, char const *zLoginName, char const *zPw)
Equivalent to fsl_sha1_shared_secret2(f,zLoginName,zPw,NULL).
FSL_EXPORT char * fsl_repo_login_cookie_name(fsl_cx *const f)
Fetches the login cookie name associated with the current repository db, or 0 if no repository is ope...
FSL_EXPORT int fsl_repo_login_clear(fsl_cx *const f, fsl_id_t userId)
Clears all login state for the given user ID.
FSL_EXPORT int fsl_repo_login_search_uid(fsl_cx *const f, char const *zUsername, char const *zPasswd, fsl_id_t *pId)
Searches for a user ID (from the repo.user.uid DB field) for a given username and password.
FSL_EXPORT char * fsl_sha1_shared_secret2(fsl_cx *const f, char const *zLoginName, char const *zPw, char const *zProjCode)
If f has an opened repository, this function forms a hash from:
int32_t fsl_id_t
fsl_id_t is a signed integer type used to store database record IDs.
This file declares the core SCM-related public APIs.
The main Fossil "context" type.