OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
GDataOAuth2Authorizer.c File Reference
#include "GDataOAuth2Authorizer.h"
#include <string.h>
#include <json-c/json.h>
Include dependency graph for GDataOAuth2Authorizer.c:

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)
 
OAuth2SecureStringoauth2_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))
 
GDataOAuth2Authorizergdata_oauth2_authorizer_new (GType service_type)
 
OAuth2SecureStringoauth2_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 Documentation

Function Documentation

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)