16 #ifndef AACE_CBL_CBL_H    17 #define AACE_CBL_CBL_H    20 #include "CBLEngineInterface.h"    21 #include "AACE/Core/PlatformInterface.h"    98         AUTHORIZATION_EXPIRED,
   114         const std::string& url,
   115         const std::string& code) = 0;
   136     virtual void setUserProfile(
const std::string& name, 
const std::string& email) = 0;
   158     void setEngineInterface(std::shared_ptr<CBLEngineInterface> cblEngineInterface);
   161     std::shared_ptr<CBLEngineInterface> m_cblEngineInterface;
   164 inline std::ostream& operator<<(std::ostream& stream, 
const CBL::CBLState& state) {
   167             stream << 
"STARTING";
   170             stream << 
"REQUESTING_CODE_PAIR";
   173             stream << 
"CODE_PAIR_RECEIVED";
   176             stream << 
"REFRESHING_TOKEN";
   179             stream << 
"REQUESTING_TOKEN";
   182             stream << 
"STOPPING";
   200             stream << 
"CODE_PAIR_EXPIRED";
   203             stream << 
"AUTHORIZATION_EXPIRED";
 
virtual std::string getRefreshToken()=0
void cancel()
Definition: CBL.cpp:33
CBLStateChangedReason
Definition: CBL.h:73
virtual void cblStateChanged(CBLState state, CBLStateChangedReason reason, const std::string &url, const std::string &code)=0
virtual void clearRefreshToken()=0
virtual void setRefreshToken(const std::string &refreshToken)=0
Definition: AddressBook.h:26
virtual void setUserProfile(const std::string &name, const std::string &email)=0
CBLState
Definition: CBL.h:37
void reset()
Definition: CBL.cpp:39
void start()
Definition: CBL.cpp:27