16 #ifndef ACSDKSAMPLEAPPLICATIONCBLAUTHREQUESTER_SAMPLEAPPLICATIONCBLAUTHREQUESTER_H_ 17 #define ACSDKSAMPLEAPPLICATIONCBLAUTHREQUESTER_SAMPLEAPPLICATIONCBLAUTHREQUESTER_H_ 28 namespace acsdkSampleApplicationCBLAuthRequester {
41 static std::shared_ptr<acsdkAuthorizationInterfaces::lwa::CBLAuthorizationObserverInterface>
43 const std::shared_ptr<acsdkSampleApplicationInterfaces::UIManagerInterface>& uiManager);
58 void setUIAuthNotifier(std::shared_ptr<acsdkSampleApplicationInterfaces::UIAuthNotifierInterface> uiAuthNotifier);
67 const std::shared_ptr<acsdkSampleApplicationInterfaces::UIManagerInterface>& uiManager);
70 std::shared_ptr<acsdkSampleApplicationInterfaces::UIManagerInterface> m_uiManager;
73 std::shared_ptr<acsdkSampleApplicationInterfaces::UIAuthNotifierInterface> m_uiAuthNotifier;
76 int m_authCheckCounter;
91 #endif // ACSDKSAMPLEAPPLICATIONCBLAUTHREQUESTER_SAMPLEAPPLICATIONCBLAUTHREQUESTER_H_
::std::string string
Definition: gtest-port.h:1097
An optional struct that may return additional information.
Definition: CBLAuthorizationObserverInterface.h:32
void setUIAuthNotifier(std::shared_ptr< acsdkSampleApplicationInterfaces::UIAuthNotifierInterface > uiAuthNotifier)
void onCustomerProfileAvailable(const acsdkAuthorizationInterfaces::lwa::CBLAuthorizationObserverInterface::CustomerProfile &customerProfile) override
static std::shared_ptr< acsdkAuthorizationInterfaces::lwa::CBLAuthorizationObserverInterface > createCBLAuthorizationObserverInterface(const std::shared_ptr< acsdkSampleApplicationInterfaces::UIManagerInterface > &uiManager)
Definition: SampleApplicationCBLAuthRequester.h:33
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void onRequestAuthorization(const std::string &url, const std::string &code) override
An observer interface used for callbacks when authorizing using CBL in LWAAuthorizationAdapterInterfa...
Definition: CBLAuthorizationObserverInterface.h:26
void onCheckingForAuthorization() override