ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Cloud::OneDrive::OneDriveTokenRefresher Class Reference

#include <onedrivetokenrefresher.h>

Inheritance diagram for Cloud::OneDrive::OneDriveTokenRefresher:
Collaboration diagram for Cloud::OneDrive::OneDriveTokenRefresher:

List of all members.

Public Member Functions

 OneDriveTokenRefresher (OneDriveStorage *parent, Networking::JsonCallback callback, Networking::ErrorCallback ecb, const char *url)
virtual ~OneDriveTokenRefresher ()
virtual void setHeaders (Common::Array< Common::String > &headers)
 Replaces all headers with the passed array of headers.
virtual void addHeader (Common::String header)
 Adds a header into headers list.

Private Member Functions

void tokenRefreshed (Storage::BoolResponse response)
virtual void finishJson (Common::JSONValue *json)
 Sets FINISHED state and passes the JSONValue * into user's callback in JsonResponse.

Private Attributes

OneDriveStorage_parentStorage
Common::Array< Common::String_headers

Detailed Description

Definition at line 34 of file onedrivetokenrefresher.h.


Constructor & Destructor Documentation

Cloud::OneDrive::OneDriveTokenRefresher::OneDriveTokenRefresher ( OneDriveStorage parent,
Networking::JsonCallback  callback,
Networking::ErrorCallback  ecb,
const char *  url 
)

Definition at line 35 of file onedrivetokenrefresher.cpp.

Cloud::OneDrive::OneDriveTokenRefresher::~OneDriveTokenRefresher (  )  [virtual]

Definition at line 38 of file onedrivetokenrefresher.cpp.


Member Function Documentation

void Cloud::OneDrive::OneDriveTokenRefresher::addHeader ( Common::String  header  )  [virtual]

Adds a header into headers list.

Reimplemented from Networking::CurlRequest.

Definition at line 125 of file onedrivetokenrefresher.cpp.

void Cloud::OneDrive::OneDriveTokenRefresher::finishJson ( Common::JSONValue json  )  [private, virtual]

Sets FINISHED state and passes the JSONValue * into user's callback in JsonResponse.

Reimplemented from Networking::CurlJsonRequest.

Definition at line 60 of file onedrivetokenrefresher.cpp.

void Cloud::OneDrive::OneDriveTokenRefresher::setHeaders ( Common::Array< Common::String > &  headers  )  [virtual]

Replaces all headers with the passed array of headers.

Reimplemented from Networking::CurlRequest.

Definition at line 117 of file onedrivetokenrefresher.cpp.

void Cloud::OneDrive::OneDriveTokenRefresher::tokenRefreshed ( Storage::BoolResponse  response  )  [private]

Definition at line 40 of file onedrivetokenrefresher.cpp.


Member Data Documentation


The documentation for this class was generated from the following files:


Generated on Sat May 25 2019 05:05:01 for ResidualVM by doxygen 1.7.1
curved edge   curved edge