mirror of
https://github.com/falk-werner/webfused
synced 2026-03-02 04:09:19 +00:00
added authentication settings (stub)
This commit is contained in:
30
src/webfused/authentication/auth_settings.h
Normal file
30
src/webfused/authentication/auth_settings.h
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#ifndef WFD_AUTH_SETTINGS_H
|
||||||
|
#define WFD_AUTH_SETTINGS_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct wfd_auth_settings;
|
||||||
|
|
||||||
|
|
||||||
|
extern char const *
|
||||||
|
wfd_auth_settings_get_provider(
|
||||||
|
struct wfd_auth_settings * settings);
|
||||||
|
|
||||||
|
extern char const *
|
||||||
|
wfd_auth_settings_get(
|
||||||
|
struct wfd_auth_settings * settings,
|
||||||
|
char const * key);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
28
src/webfused/authentication/auth_settings_builder.h
Normal file
28
src/webfused/authentication/auth_settings_builder.h
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
#ifndef WFD_AUTH_SETTINGS_BUILDER_H
|
||||||
|
#define WFD_AUTH_SETTINGS_BUILDER_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#endif
|
||||||
|
|
||||||
|
extern struct wfd_auth_settings *
|
||||||
|
wfd_auth_settings_create(void);
|
||||||
|
|
||||||
|
extern void
|
||||||
|
wfd_auth_settings_dispose(
|
||||||
|
struct wfd_auth_settings * settings);
|
||||||
|
|
||||||
|
extern void
|
||||||
|
wfd_auth_settings_set_provider(
|
||||||
|
struct wfd_auth_settings * settings,
|
||||||
|
char const * provider);
|
||||||
|
|
||||||
|
extern void
|
||||||
|
wfd_auth_settings_add(
|
||||||
|
struct wfd_auth_settings * settings,
|
||||||
|
char const * key,
|
||||||
|
char const * value);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user