OpenAB
1.0.1
|
Classes | |
struct | _OAuth2SecureString |
struct | _GDataOAuth2AuthorizerPrivate |
Typedefs | |
typedef struct _OAuth2SecureString | OAuth2SecureString |
Functions | |
void | secure_free_str (gchar *str) |
void | secure_wipe_str (const gchar *str) |
void | oauth2_secure_string_free (OAuth2SecureString *str) |
OAuth2SecureString * | oauth2_secure_string_new (const gchar *str) |
gchar * | oauth2_secure_string_get (OAuth2SecureString *str) |
G_DEFINE_TYPE_WITH_CODE (GDataOAuth2Authorizer, gdata_oauth2_authorizer, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE(GDATA_TYPE_AUTHORIZER, authorizer_init)) | |
GDataOAuth2Authorizer * | gdata_oauth2_authorizer_new (GType service_type) |
OAuth2SecureString * | oauth2_authorizer_parse_response (const gchar *body, GError **error) |
gboolean | gdata_oauth2_authorizer_authenticate (GDataOAuth2Authorizer *self, const char *client_id, const char *client_secret, const char *refresh_token, GCancellable *cancellable, GError **error) |
typedef struct _OAuth2SecureString OAuth2SecureString |
G_DEFINE_TYPE_WITH_CODE | ( | GDataOAuth2Authorizer | , |
gdata_oauth2_authorizer | , | ||
G_TYPE_OBJECT | , | ||
G_IMPLEMENT_INTERFACE(GDATA_TYPE_AUTHORIZER, authorizer_init) | |||
) |
gboolean gdata_oauth2_authorizer_authenticate | ( | GDataOAuth2Authorizer * | self, |
const char * | client_id, | ||
const char * | client_secret, | ||
const char * | refresh_token, | ||
GCancellable * | cancellable, | ||
GError ** | error | ||
) |
GDataOAuth2Authorizer* gdata_oauth2_authorizer_new | ( | GType | service_type | ) |
OAuth2SecureString* oauth2_authorizer_parse_response | ( | const gchar * | body, |
GError ** | error | ||
) |
void oauth2_secure_string_free | ( | OAuth2SecureString * | str | ) |
gchar* oauth2_secure_string_get | ( | OAuth2SecureString * | str | ) |
OAuth2SecureString* oauth2_secure_string_new | ( | const gchar * | str | ) |
void secure_free_str | ( | gchar * | str | ) |
void secure_wipe_str | ( | const gchar * | str | ) |