![]() |
![]() |
![]() |
libsyncdaemon Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
SyncdaemonAuthentication; SyncdaemonAuthenticationClass; SyncdaemonAuthentication * syncdaemon_authentication_new (void
); SyncdaemonCredentials * syncdaemon_authentication_find_credentials (SyncdaemonAuthentication *auth
); gboolean syncdaemon_authentication_has_credentials (SyncdaemonAuthentication *auth
); void syncdaemon_authentication_login_or_register (SyncdaemonAuthentication *auth
); void syncdaemon_authentication_clear_token (SyncdaemonAuthentication *auth
); SyncdaemonAuthenticationPrivate;
typedef struct { GObjectClass parent_class; void (* credentials_found) (SyncdaemonAuthentication *auth, SyncdaemonCredentials *credentials); void (* authorization_cancelled) (SyncdaemonAuthentication *auth); void (* error) (SyncdaemonAuthentication *auth, const gchar *error); } SyncdaemonAuthenticationClass;
SyncdaemonCredentials * syncdaemon_authentication_find_credentials
(SyncdaemonAuthentication *auth
);
gboolean syncdaemon_authentication_has_credentials
(SyncdaemonAuthentication *auth
);
void syncdaemon_authentication_login_or_register
(SyncdaemonAuthentication *auth
);
void syncdaemon_authentication_clear_token
(SyncdaemonAuthentication *auth
);
"authorization-cancelled"
signalvoid user_function (SyncdaemonAuthentication *syncdaemonauthentication,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"credentials-found"
signalvoid user_function (SyncdaemonAuthentication *syncdaemonauthentication,
GObject *arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"error"
signalvoid user_function (SyncdaemonAuthentication *syncdaemonauthentication,
gchar *arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |