aboutsummaryrefslogtreecommitdiff
path: root/lib/vauth/vauth.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-09-12 15:24:44 +0100
committerSteve Holme <steve_holme@hotmail.com>2016-03-25 15:11:10 +0000
commit70e56939aa160ca2dcb2c5e6090d2f0f2533faae (patch)
treebd244e3f113fbb44306f6d900131de9fb0c005bc /lib/vauth/vauth.h
parent6012fa5aee04e05960804041bbcb444698cb7a33 (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.h7
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 */