OpenAB
1.0.1
|
#include <gdata/gdata.h>
Go to the source code of this file.
Classes | |
struct | GDataOAuth2Authorizer |
struct | GDataOAuth2AuthorizerClass |
Macros | |
#define | GDATA_OAUTH2_AUTHORIZER_ERROR gdata_oauth2_authorizer_error_quark() |
#define | GDATA_TYPE_OAUTH2_AUTHORIZER (gdata_oauth2_authorizer_get_type()) |
#define | GDATA_OAUTH2_AUTHORIZER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2Authorizer)) |
#define | GDATA_OAUTH2_AUTHORIZER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2AuthorizerClass)) |
#define | GDATA_IS_OAUTH2_AUTHORIZER(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GDATA_TYPE_OAUTH2_AUTHORIZER) |
#define | GDATA_IS_OAUTH2_AUTHORIZER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), GDATA_TYPE_OAUTH2_AUTHORIZER) |
#define | GDATA_CLIENT_OAUTH2_AUTHORIZER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2AuthorizerClass)) |
Typedefs | |
typedef struct _GDataOAuth2AuthorizerPrivate | GDataOAuth2AuthorizerPrivate |
Enumerations | |
enum | GDataOAuth2AuthorizerError { GDATA_OAUTH2_AUTHORIZER_ERROR_INVALID_REFRESH_TOKEN = 1 } |
Functions | |
GQuark | gdata_oauth2_authorizer_error_quark (void) G_GNUC_CONST |
GType | gdata_oauth2_authorizer_get_type (void) G_GNUC_CONST |
GDataOAuth2Authorizer * | gdata_oauth2_authorizer_new (GType service_type) |
gboolean | gdata_oauth2_authorizer_authenticate (GDataOAuth2Authorizer *self, const char *client_id, const char *client_secret, const char *refresh_token, GCancellable *cancellable, GError **error) |
#define GDATA_CLIENT_OAUTH2_AUTHORIZER_GET_CLASS | ( | o | ) | (G_TYPE_INSTANCE_GET_CLASS((o), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2AuthorizerClass)) |
#define GDATA_IS_OAUTH2_AUTHORIZER | ( | o | ) | (G_TYPE_CHECK_INSTANCE_TYPE((o), GDATA_TYPE_OAUTH2_AUTHORIZER) |
#define GDATA_IS_OAUTH2_AUTHORIZER_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_TYPE((k), GDATA_TYPE_OAUTH2_AUTHORIZER) |
#define GDATA_OAUTH2_AUTHORIZER | ( | o | ) | (G_TYPE_CHECK_INSTANCE_CAST ((o), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2Authorizer)) |
#define GDATA_OAUTH2_AUTHORIZER_CLASS | ( | k | ) | (G_TYPE_CHECK_CLASS_CAST ((k), GDATA_TYPE_OAUTH2_AUTHORIZER, GDataOAuth2AuthorizerClass)) |
#define GDATA_OAUTH2_AUTHORIZER_ERROR gdata_oauth2_authorizer_error_quark() |
#define GDATA_TYPE_OAUTH2_AUTHORIZER (gdata_oauth2_authorizer_get_type()) |
typedef struct _GDataOAuth2AuthorizerPrivate GDataOAuth2AuthorizerPrivate |
gboolean gdata_oauth2_authorizer_authenticate | ( | GDataOAuth2Authorizer * | self, |
const char * | client_id, | ||
const char * | client_secret, | ||
const char * | refresh_token, | ||
GCancellable * | cancellable, | ||
GError ** | error | ||
) |
GQuark gdata_oauth2_authorizer_error_quark | ( | void | ) |
GType gdata_oauth2_authorizer_get_type | ( | void | ) |
GDataOAuth2Authorizer* gdata_oauth2_authorizer_new | ( | GType | service_type | ) |