15 #ifndef ALEXA_CLIENT_SDK_AVSGATEWAYMANAGER_INCLUDE_AVSGATEWAYMANAGER_AUTHREFRESHEDOBSERVER_H_ 16 #define ALEXA_CLIENT_SDK_AVSGATEWAYMANAGER_INCLUDE_AVSGATEWAYMANAGER_AUTHREFRESHEDOBSERVER_H_ 26 namespace avsGatewayManager {
33 ,
public std::enable_shared_from_this<AuthRefreshedObserver> {
41 static std::shared_ptr<AuthRefreshedObserver>
create(std::function<
void()> callback);
65 std::function<void()> m_afterAuthRefreshedCallback;
71 #endif // ALEXA_CLIENT_SDK_AVSGATEWAYMANAGER_INCLUDE_AVSGATEWAYMANAGER_AUTHREFRESHEDOBSERVER_H_
Definition: AuthRefreshedObserver.h:31
State
The enum State describes the state of authorization.
Definition: AuthObserverInterface.h:34
static std::shared_ptr< AuthRefreshedObserver > create(std::function< void()> callback)
void onAuthStateChange(State newState, Error error) override
Definition: AuthObserverInterface.h:31
Error
The enum Error encodes possible errors which may occur when changing state.
Definition: AuthObserverInterface.h:48
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36