mirror of
https://github.com/falk-werner/webfused
synced 2024-10-27 20:44:08 +00:00
added authentication settings (stub)
This commit is contained in:
parent
389c27c7eb
commit
79fa1f6cbf
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
|
Loading…
Reference in New Issue
Block a user