X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_oauth.h;h=b93c87b854591b7d1372d7b415853a502988b5de;hb=711f5b6c86f51061c21bedcaa46214a01de0125c;hp=ed61ee8e08aed1cc04fb157774379fb6321d6fed;hpb=aa61b9056d7d14d414e1f5b8f7636e5c5bb9301e;p=collectd.git diff --git a/src/utils_oauth.h b/src/utils_oauth.h index ed61ee8e..b93c87b8 100644 --- 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 -#include - 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;