28 lines
780 B
C++
28 lines
780 B
C++
/*******************************************************************************
|
|
Copyright © 2017 Philips Lighting Holding B.V.
|
|
All Rights Reserved.
|
|
********************************************************************************/
|
|
|
|
#ifndef LIBHUESTREAM_IBRIDGEAUTHENTICATOR_H
|
|
#define LIBHUESTREAM_IBRIDGEAUTHENTICATOR_H
|
|
|
|
#include <huestream/common/data/Bridge.h>
|
|
|
|
|
|
namespace huestream {
|
|
namespace connectionflow {
|
|
|
|
typedef std::function<void(BridgePtr)> AutenticateCallbackHandler;
|
|
|
|
class IBridgeAuthenticator
|
|
{
|
|
public:
|
|
virtual ~IBridgeAuthenticator() {}
|
|
virtual void Authenticate(BridgePtr bridge, AutenticateCallbackHandler cb) = 0;
|
|
protected:
|
|
};
|
|
typedef std::shared_ptr<IBridgeAuthenticator> BridgeAuthenticatorPtr;
|
|
|
|
}
|
|
}
|
|
#endif // LIBHUESTREAM_IBRIDGEAUTHENTICATOR_H
|