QEverCloud
6.1.0
Unofficial Evernote Cloud API for Qt
|
#include <OAuth.h>
Public Member Functions | |
virtual void | print (QTextStream &strm) const override |
![]() | |
Printable ()=default | |
virtual | ~Printable ()=default |
virtual QString | toString () const |
Public Attributes | |
QString | noteStoreUrl |
Timestamp | expires |
authenticationToken time of expiration. More... | |
QString | shardId |
usually is not used More... | |
UserID | userId |
same as PublicUserInfo::userId More... | |
QString | webApiUrlPrefix |
see PublicUserInfo::webApiUrlPrefix More... | |
QString | authenticationToken |
This is what this all was for! More... | |
QList< QNetworkCookie > | cookies |
Holds data that is returned by Evernote on a successful authentication
|
overridevirtual |
Implements qevercloud::Printable.
QString qevercloud::EvernoteOAuthWebView::OAuthResult::authenticationToken |
This is what this all was for!
Cookies set by Evernote during OAuth procedure. In April 2020 these cookies silently started to be required for UserStore API calls. Probably it was a bug on Evernote side which hopefully would be fixed at some point but nevertheless cookies set during OAuth procedure are now available as a part of OAuth result and can be used in subsequent calls to Evernote service. These cookies can be set when creating an instance of IRequestContext. Then this context can be used in QEverCloud calls. Cookies from context would propagate to HTTP requests performed by QEverCloud. See this thread on Evernote discussions for more details: https://discussion.evernote.com/topic/124257-calls-to-userstore-from-evernote-api-stopped-working
QList<QNetworkCookie> qevercloud::EvernoteOAuthWebView::OAuthResult::cookies |
Timestamp qevercloud::EvernoteOAuthWebView::OAuthResult::expires |
authenticationToken time of expiration.
QString qevercloud::EvernoteOAuthWebView::OAuthResult::noteStoreUrl |
note store url for the user; no need to question UserStore::getNoteStoreUrl for it.
QString qevercloud::EvernoteOAuthWebView::OAuthResult::shardId |
usually is not used
UserID qevercloud::EvernoteOAuthWebView::OAuthResult::userId |
same as PublicUserInfo::userId
QString qevercloud::EvernoteOAuthWebView::OAuthResult::webApiUrlPrefix |