42 #ifndef KAA_USER_MANAGER_T
43 # define KAA_USER_MANAGER_T
61 #ifdef DEFAULT_USER_VERIFIER_TOKEN
63 ,
const char *user_external_id
64 ,
const char *access_token);
83 ,
const char *user_external_id
84 ,
const char *access_token
85 ,
const char *user_verifier_token);
bool kaa_user_manager_is_attached_to_user(kaa_user_manager_t *self)
Checks if current endpoint is attached to user.
kaa_error_t kaa_user_manager_attach_endpoint(kaa_user_manager_t *self, const char *endpoint_access_token, kaa_endpoint_status_listener_t *listener)
Attaches external endpoint by its access token.
Interface for the endpoint attachment status receiver.
struct kaa_user_manager_t kaa_user_manager_t
kaa_error_t kaa_user_manager_detach_endpoint(kaa_user_manager_t *self, const kaa_endpoint_id_p endpoint_hash_key, kaa_endpoint_status_listener_t *listener)
Detaches external endpoint by its access token.
kaa_error_t kaa_user_manager_attach_to_user(kaa_user_manager_t *self, const char *user_external_id, const char *access_token, const char *user_verifier_token)
Attaches the endpoint to a user entity. The user verification is carried out by the default verifier...
Interface for the user attachment status receiver.
const uint8_t * kaa_endpoint_id_p
kaa_error_t kaa_user_manager_set_attachment_listeners(kaa_user_manager_t *self, const kaa_attachment_status_listeners_t *listeners)
Sets callback functions to receive notifications when the endpoint gets attached or detached to (from...
External interface for receiving user attachment status used by Kaa User subsystem. Should be implemented to receive user attachment/detachment notifications.