Deprecate OAuth 1.0 (QOAuth1 and QOAuth1Signature)
OAuth 1.0 is RFC-wise obsoleted by OAuth 2.0 in 2012.
Since then the support for it has dwindled down significantly.
Currently there are only a handful of OAuth 1 authorization servers
out there, and many of them support OAuth 2 (OAuth1 is provided as
legacy support).
Deprecate the public OAuth1 classes QOAuth1 and QOAuth1Signature in
6.13 and schedule them for removal in Qt 7. This gives
any remaining users time to react, and the opportunity to object:
it is not possible to be certain whether there are still active
OAuth1 users. Deprecation warning are put on the class constructors
so that any instantiation will trigger the warning.
Removing OAuth1 in Qt 7 will still require manual cleanup rather
than a purely mechanical deletion. OAuth1 and OAuth2 share common
code (notably the QAbstractOAuth and QOAuthOobReplyHandler), so
dropping OAuth1 calls for a review of what the shared base classes
still need, which is too involved to automate.
There is no general migration path, as OAuth 1.0 and OAuth 2.0 are
distinct protocols; users whose authorization server supports
OAuth 2 should switch to it.
[ChangeLog][QOAuth1] OAuth 1.0 support (QOAuth1 and QOAuth1Signature)
is deprecated and scheduled for removal in Qt 7
Task-number: QTBUG-147301
Change-Id: I8c9ec0dd8483ccc7edf6b216227bde9e51f6e5fa
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>