projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.8'
[collectd.git]
/
src
/
utils_oauth.h
diff --git
a/src/utils_oauth.h
b/src/utils_oauth.h
index
ed61ee8
..
b93c87b
100644
(file)
--- a/
src/utils_oauth.h
+++ b/
src/utils_oauth.h
@@
-30,19
+30,12
@@
#define GOOGLE_OAUTH_URL "https://www.googleapis.com/oauth2/v3/token"
#endif
#define GOOGLE_OAUTH_URL "https://www.googleapis.com/oauth2/v3/token"
#endif
-#include <openssl/evp.h>
-
struct oauth_s;
typedef struct oauth_s oauth_t;
int oauth_parse_json_token(char const *json, char *out_access_token,
size_t access_token_size, cdtime_t *expires_in);
struct oauth_s;
typedef struct oauth_s oauth_t;
int oauth_parse_json_token(char const *json, char *out_access_token,
size_t access_token_size, cdtime_t *expires_in);
-oauth_t *oauth_create(char const *url, char const *iss, char const *scope,
- char const *aud, EVP_PKEY *key);
-oauth_t *oauth_create_p12(char const *url, char const *iss, char const *scope,
- char const *aud, char const *file, char const *pass);
-
typedef struct {
char *project_id;
oauth_t *oauth;
typedef struct {
char *project_id;
oauth_t *oauth;