diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-09-05 18:35:47 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-11-15 20:11:53 +0000 |
commit | ee04bee82b7186b7b1f84a741c33aed6bc9da31d (patch) | |
tree | 8b7184b393b001c7cc5d361974369b0e9adf90f5 /lib/curl_sasl.h | |
parent | 6cfd646f58de245375b3ed706f0749cc52067002 (diff) | |
download | curl-ee04bee82b7186b7b1f84a741c33aed6bc9da31d.tar.gz |
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.h | 1 |
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; |