-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from KIT-SCC/dev
Dev: dynamic registration & token revocation
- Loading branch information
Showing
19 changed files
with
712 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#ifndef HTTP_H | ||
#define HTTP_H | ||
|
||
char* httpsGET(const char* url, const char* cert_path) ; | ||
char* httpsPOST(const char* url, const char data[], const char* cert_path) ; | ||
#include <curl/curl.h> | ||
|
||
char* httpsGET(const char* url, struct curl_slist *list, const char* cert_path) ; | ||
char* httpsPOST(const char* url, const char* data, struct curl_slist* headers, const char* cert_path, const char* username, const char* password) ; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,13 @@ | |
#include "prompt.h" | ||
#include "ipc.h" | ||
#include "oidc_utilities.h" | ||
#include "version.h" | ||
|
||
#define OIDC_SOCK_ENV_NAME "OIDC_SOCK" | ||
|
||
const char *argp_program_version = "oidc-add 0.2.0"; | ||
const char *argp_program_version = ADD_VERSION; | ||
|
||
const char *argp_program_bug_address = "<[email protected]>"; | ||
const char *argp_program_bug_address = BUG_ADDRESS; | ||
|
||
/* This structure is used by main to communicate with parse_opt. */ | ||
struct arguments { | ||
|
Oops, something went wrong.