1: ac5b3e053a3 = 1: 6747b7cc795 Add OAUTHBEARER SASL mechanism -: ----------- > 2: 483129c1ca9 fixup! Add OAUTHBEARER SASL mechanism -: ----------- > 3: 75d98784ded fixup! Add OAUTHBEARER SASL mechanism -: ----------- > 4: fd60ceb4c84 fixup! Add OAUTHBEARER SASL mechanism -: ----------- > 5: 595362ef2c1 fixup! Add OAUTHBEARER SASL mechanism -: ----------- > 6: f73c042adc9 fixup! Add OAUTHBEARER SASL mechanism -: ----------- > 7: 298839b69f0 fixup! Add OAUTHBEARER SASL mechanism -: ----------- > 8: 1cf48a8f835 fixup! Add OAUTHBEARER SASL mechanism -: ----------- > 9: 27135876559 fixup! Add OAUTHBEARER SASL mechanism 2: 4190ef1bac7 = 10: d8c1f298080 XXX fix libcurl link error 3: 11cf045bd21 ! 11: dbf305d0489 DO NOT MERGE: Add pytest suite for OAuth @@ src/test/python/client/test_oauth.py (new) + _fields_ = [ + ("verification_uri", ctypes.c_char_p), + ("user_code", ctypes.c_char_p), ++ ("verification_uri_complete", ctypes.c_char_p), ++ ("expires_in", ctypes.c_int), + ] + + @@ src/test/python/client/test_oauth.py (new) + assert call.type == PQAUTHDATA_PROMPT_OAUTH_DEVICE + assert call.verification_uri.decode() == verification_url + assert call.user_code.decode() == user_code ++ assert call.verification_uri_complete is None ++ assert call.expires_in == 5 + + if not success: + # The client should not try to connect again.