cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH] OAUTH 2.0 Bearer token support SMTP/IMAP (XOAUTH2)

From: Kyle L. Huff <>
Date: Sat, 24 Aug 2013 22:24:13 -0400

On Sat, Aug 24, 2013 at 5:25 PM, Daniel Stenberg <> wrote:
> 1 - documention for both the curl command line and the libcurl option so
> that users can figure out how to use this option.

I'd be happy to write documentation for this feature; to clarify, are you
referring to the documentation in the "docs" folder of the source?

> 2 - a test case or three that verify that the feature works as designed and
> documented. It is particularly important for us to avoid future regressions.

Again, I have no issue doing the work, but I am unclear as to how you want
these test-cases implemented; something in the tests folder?

Also regarding the tests, it is unlikely a successful test of the token
functions could be created that would not require the user running the test
to provide a recent OAUTH Bearer Token. Tokens generally expire in a
short window of time (typically 1 hour), and are unique to the user account
used in the connection. Maybe you or someone else has some ideas for
a good way to design these tests (or perhaps I misunderstand your
meaning altogether...)


Kyle L. Huff
List admin:
Received on 2013-08-25