summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-09-05 18:35:47 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-11-15 20:11:53 +0000
commitee04bee82b7186b7b1f84a741c33aed6bc9da31d (patch)
tree8b7184b393b001c7cc5d361974369b0e9adf90f5 /lib/curl_sasl.h
parent6cfd646f58de245375b3ed706f0749cc52067002 (diff)
downloadgnurl-ee04bee82b7186b7b1f84a741c33aed6bc9da31d.tar.gz
gnurl-ee04bee82b7186b7b1f84a741c33aed6bc9da31d.tar.bz2
gnurl-ee04bee82b7186b7b1f84a741c33aed6bc9da31d.zip
oauth2: Support OAUTHBEARER failures sent as continuation responses
According to RFC7628 a failure message may be sent by the server in a base64 encoded JSON string as a continuation response. Currently only implemented for OAUTHBEARER and not XAUTH2.
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index fb44ac265..2a8cc35c7 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -92,6 +92,7 @@ typedef enum {
SASL_GSSAPI_TOKEN,
SASL_GSSAPI_NO_DATA,
SASL_OAUTH2,
+ SASL_OAUTH2_RESP,
SASL_CANCEL,
SASL_FINAL
} saslstate;