10 #ifndef GDATAOAUTH2AUTHORIZER_H_
11 #define GDATAOAUTH2AUTHORIZER_H_
13 #include <gdata/gdata.h>
23 #define GDATA_OAUTH2_AUTHORIZER_ERROR gdata_oauth2_authorizer_error_quark()
24 #define GDATA_TYPE_OAUTH2_AUTHORIZER (gdata_oauth2_authorizer_get_type())
25 #define GDATA_OAUTH2_AUTHORIZER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2Authorizer))
26 #define GDATA_OAUTH2_AUTHORIZER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2AuthorizerClass))
27 #define GDATA_IS_OAUTH2_AUTHORIZER(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GDATA_TYPE_OAUTH2_AUTHORIZER)
28 #define GDATA_IS_OAUTH2_AUTHORIZER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), GDATA_TYPE_OAUTH2_AUTHORIZER)
29 #define GDATA_CLIENT_OAUTH2_AUTHORIZER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2AuthorizerClass))
47 const
char* client_id,
48 const
char* client_secret,
49 const
char* refresh_token,
50 GCancellable* cancellable,
55 #endif // GDATAOAUTH2AUTHORIZER_H_
GObjectClass parent
Definition: GDataOAuth2Authorizer.h:39
Definition: GDataOAuth2Authorizer.c:95
Definition: GDataOAuth2Authorizer.h:18
GObject parent
Definition: GDataOAuth2Authorizer.h:34
gboolean gdata_oauth2_authorizer_authenticate(GDataOAuth2Authorizer *self, const char *client_id, const char *client_secret, const char *refresh_token, GCancellable *cancellable, GError **error)
Definition: GDataOAuth2Authorizer.c:292
GDataOAuth2AuthorizerPrivate * priv
Definition: GDataOAuth2Authorizer.h:35
Definition: GDataOAuth2Authorizer.h:33
Definition: GDataOAuth2Authorizer.h:38
GType gdata_oauth2_authorizer_get_type(void) G_GNUC_CONST
GDataOAuth2Authorizer * gdata_oauth2_authorizer_new(GType service_type)
Definition: GDataOAuth2Authorizer.c:218
GQuark gdata_oauth2_authorizer_error_quark(void) G_GNUC_CONST
GDataOAuth2AuthorizerError
Definition: GDataOAuth2Authorizer.h:17