17 #ifndef IENDPOINTREGISTRATIONMANAGER_HPP_
18 #define IENDPOINTREGISTRATIONMANAGER_HPP_
82 virtual void attachUser(
const std::string& userExternalId
83 ,
const std::string& userAccessToken
100 virtual void attachUser(
const std::string& userExternalId
101 ,
const std::string& userAccessToken
102 ,
const std::string& userVerifierToken
virtual void attachEndpoint(const std::string &endpointAccessToken, IAttachEndpointCallbackPtr listener=IAttachEndpointCallbackPtr())=0
Attaches the specified endpoint to the user to which the current endpoint is attached.
virtual void detachEndpoint(const std::string &endpointKeyHash, IDetachEndpointCallbackPtr listener=IDetachEndpointCallbackPtr())=0
Detaches the specified endpoint from the user to which the current endpoint is attached.
std::shared_ptr< IDetachEndpointCallback > IDetachEndpointCallbackPtr
virtual ~IEndpointRegistrationManager()
virtual void setAttachStatusListener(IAttachStatusListenerPtr listener)=0
Sets listener to notify of the current endpoint is attached/detached by another one.
std::shared_ptr< IAttachStatusListener > IAttachStatusListenerPtr
std::shared_ptr< IUserAttachCallback > IUserAttachCallbackPtr
virtual void attachUser(const std::string &userExternalId, const std::string &userAccessToken, IUserAttachCallbackPtr listener=IUserAttachCallbackPtr())=0
Attaches the current endpoint to the specifier user. The user verification is carried out by the defa...
virtual bool isAttachedToUser()=0
Checks if the current endpoint is already attached to some user.
The interface to a module which associates endpoints with users.
std::shared_ptr< IAttachEndpointCallback > IAttachEndpointCallbackPtr