From ee04bee82b7186b7b1f84a741c33aed6bc9da31d Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 5 Sep 2015 18:35:47 +0100 Subject: 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. --- lib/curl_sasl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/curl_sasl.h') 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; -- cgit v1.2.3