diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-09-12 15:24:44 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2016-03-25 15:11:10 +0000 |
commit | 70e56939aa160ca2dcb2c5e6090d2f0f2533faae (patch) | |
tree | bd244e3f113fbb44306f6d900131de9fb0c005bc /lib/vauth/vauth.h | |
parent | 6012fa5aee04e05960804041bbcb444698cb7a33 (diff) |
vauth: Moved the OAuth 2.0 authentication code to the new vauth directory
Diffstat (limited to 'lib/vauth/vauth.h')
-rw-r--r-- | lib/vauth/vauth.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/vauth/vauth.h b/lib/vauth/vauth.h index c26b9e31d..e34a930cf 100644 --- a/lib/vauth/vauth.h +++ b/lib/vauth/vauth.h @@ -126,6 +126,13 @@ CURLcode Curl_sasl_create_ntlm_type3_message(struct SessionHandle *data, void Curl_sasl_ntlm_cleanup(struct ntlmdata *ntlm); #endif /* USE_NTLM */ +/* This is used to generate a base64 encoded OAuth 2.0 message */ +CURLcode sasl_create_oauth_bearer_message(struct SessionHandle *data, + const char *user, + const char *host, + const long port, + const char *bearer, + char **outptr, size_t *outlen); #if defined(USE_KERBEROS5) /* This is used to generate a base64 encoded GSSAPI (Kerberos V5) user token message */ |