goaoauth2provider.h | goaoauth2provider.h | |||
---|---|---|---|---|
skipping to change at line 71 | skipping to change at line 71 | |||
* @get_authorization_uri: Virtual function for goa_oauth2_provider_get_aut horization_uri(). | * @get_authorization_uri: Virtual function for goa_oauth2_provider_get_aut horization_uri(). | |||
* @get_token_uri: Virtual function for goa_oauth2_provider_get_token_uri() . | * @get_token_uri: Virtual function for goa_oauth2_provider_get_token_uri() . | |||
* @get_redirect_uri: Virtual function for goa_oauth2_provider_get_redirect _uri(). | * @get_redirect_uri: Virtual function for goa_oauth2_provider_get_redirect _uri(). | |||
* @get_scope: Virtual function for goa_oauth2_provider_get_scope(). | * @get_scope: Virtual function for goa_oauth2_provider_get_scope(). | |||
* @get_client_id: Virtual function for goa_oauth2_provider_get_client_id() . | * @get_client_id: Virtual function for goa_oauth2_provider_get_client_id() . | |||
* @get_client_secret: Virtual function for goa_oauth2_provider_get_client_ secret(). | * @get_client_secret: Virtual function for goa_oauth2_provider_get_client_ secret(). | |||
* @get_authentication_cookie: Virtual function for goa_oauth2_provider_get _authentication_cookie(). | * @get_authentication_cookie: Virtual function for goa_oauth2_provider_get _authentication_cookie(). | |||
* @get_identity_sync: Virtual function for goa_oauth2_provider_get_identit y_sync(). | * @get_identity_sync: Virtual function for goa_oauth2_provider_get_identit y_sync(). | |||
* @build_authorization_uri: Virtual function for goa_oauth2_provider_build _authorization_uri(). | * @build_authorization_uri: Virtual function for goa_oauth2_provider_build _authorization_uri(). | |||
* @get_use_external_browser: Virtual function for goa_oauth2_provider_get_ use_external_browser(). | * @get_use_external_browser: Virtual function for goa_oauth2_provider_get_ use_external_browser(). | |||
* @get_use_mobile_browser: Virtual function for goa_oauth2_provider_get_us e_mobile_browser(). | ||||
* @add_account_key_values: Virtual function for goa_oauth2_provider_add_ac count_key_values(). | * @add_account_key_values: Virtual function for goa_oauth2_provider_add_ac count_key_values(). | |||
* | * | |||
* Class structure for #GoaOAuth2Provider. | * Class structure for #GoaOAuth2Provider. | |||
*/ | */ | |||
struct _GoaOAuth2ProviderClass | struct _GoaOAuth2ProviderClass | |||
{ | { | |||
GoaProviderClass parent_class; | GoaProviderClass parent_class; | |||
/* pure virtual */ | /* pure virtual */ | |||
const gchar *(*get_authorization_uri) (GoaOAuth2Provider *provider); | const gchar *(*get_authorization_uri) (GoaOAuth2Provider *provider); | |||
skipping to change at line 100 | skipping to change at line 101 | |||
GError **error); | GError **error); | |||
/* virtual but with default implementation */ | /* virtual but with default implementation */ | |||
gchar *(*build_authorization_uri) (GoaOAuth2Provider *provider, | gchar *(*build_authorization_uri) (GoaOAuth2Provider *provider, | |||
const gchar *authorizati on_uri, | const gchar *authorizati on_uri, | |||
const gchar *escaped_red irect_uri, | const gchar *escaped_red irect_uri, | |||
const gchar *escaped_cli ent_id, | const gchar *escaped_cli ent_id, | |||
const gchar *escaped_sco pe); | const gchar *escaped_sco pe); | |||
const gchar *(*get_token_uri) (GoaOAuth2Provider *provider); | const gchar *(*get_token_uri) (GoaOAuth2Provider *provider); | |||
gboolean (*get_use_external_browser) (GoaOAuth2Provider *provider); | gboolean (*get_use_external_browser) (GoaOAuth2Provider *provider); | |||
gboolean (*get_use_mobile_browser) (GoaOAuth2Provider *provider); | ||||
void (*add_account_key_values) (GoaOAuth2Provider *provider, | void (*add_account_key_values) (GoaOAuth2Provider *provider, | |||
GVariantBuilder *builder); | GVariantBuilder *builder); | |||
/*< private >*/ | /*< private >*/ | |||
/* Padding for future expansion */ | /* Padding for future expansion */ | |||
gpointer goa_reserved[32]; | gpointer goa_reserved[32]; | |||
}; | }; | |||
GType goa_oauth2_provider_get_type (void) G_GNUC_CON ST; | GType goa_oauth2_provider_get_type (void) G_GNUC_CON ST; | |||
const gchar *goa_oauth2_provider_get_authorization_uri (GoaOAuth2Provide r *provider); | const gchar *goa_oauth2_provider_get_authorization_uri (GoaOAuth2Provide r *provider); | |||
skipping to change at line 133 | skipping to change at line 135 | |||
gboolean force_refresh, | gboolean force_refresh, | |||
gint *out_access_token_expires_in, | gint *out_access_token_expires_in, | |||
GCancellable *cancellable, | GCancellable *cancellable, | |||
GError **error); | GError **error); | |||
gchar *goa_oauth2_provider_build_authorization_uri (GoaOAuth2Provide r *provider, | gchar *goa_oauth2_provider_build_authorization_uri (GoaOAuth2Provide r *provider, | |||
const gchar *authorization_uri, | const gchar *authorization_uri, | |||
const gchar *escaped_redirect_uri, | const gchar *escaped_redirect_uri, | |||
const gchar *escaped_client_id, | const gchar *escaped_client_id, | |||
const gchar *escaped_scope); | const gchar *escaped_scope); | |||
gboolean goa_oauth2_provider_get_use_external_browser (GoaOAuth2Provide r *provider); | gboolean goa_oauth2_provider_get_use_external_browser (GoaOAuth2Provide r *provider); | |||
gboolean goa_oauth2_provider_get_use_mobile_browser (GoaOAuth2Provide r *provider); | ||||
void goa_oauth2_provider_add_account_key_values (GoaOAuth2Provide r *provider, | void goa_oauth2_provider_add_account_key_values (GoaOAuth2Provide r *provider, | |||
GVariantBuilder *builder); | GVariantBuilder *builder); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __GOA_OAUTH2_PROVIDER_H__ */ | #endif /* __GOA_OAUTH2_PROVIDER_H__ */ | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||
goaoauthprovider.h | goaoauthprovider.h | |||
---|---|---|---|---|
skipping to change at line 74 | skipping to change at line 74 | |||
* @get_consumer_secret: Virtual function for goa_oauth_provider_get_consum er_secret(). | * @get_consumer_secret: Virtual function for goa_oauth_provider_get_consum er_secret(). | |||
* @get_request_uri: Virtual function for goa_oauth_provider_get_request_ur i(). | * @get_request_uri: Virtual function for goa_oauth_provider_get_request_ur i(). | |||
* @get_authorization_uri: Virtual function for goa_oauth_provider_get_auth orization_uri(). | * @get_authorization_uri: Virtual function for goa_oauth_provider_get_auth orization_uri(). | |||
* @get_token_uri: Virtual function for goa_oauth_provider_get_token_uri(). | * @get_token_uri: Virtual function for goa_oauth_provider_get_token_uri(). | |||
* @get_callback_uri: Virtual function for goa_oauth_provider_get_callback_ uri(). | * @get_callback_uri: Virtual function for goa_oauth_provider_get_callback_ uri(). | |||
* @get_authentication_cookie: Virtual function for goa_oauth_provider_get_ authentication_cookie(). | * @get_authentication_cookie: Virtual function for goa_oauth_provider_get_ authentication_cookie(). | |||
* @get_identity_sync: Virtual function for goa_oauth_provider_get_identity _sync(). | * @get_identity_sync: Virtual function for goa_oauth_provider_get_identity _sync(). | |||
* @parse_request_token_error: Virtual function for goa_oauth_provider_pars e_request_token_error(). | * @parse_request_token_error: Virtual function for goa_oauth_provider_pars e_request_token_error(). | |||
* @build_authorization_uri: Virtual function for goa_oauth_provider_build_ authorization_uri(). | * @build_authorization_uri: Virtual function for goa_oauth_provider_build_ authorization_uri(). | |||
* @get_use_external_browser: Virtual function for goa_oauth_provider_get_u se_external_browser(). | * @get_use_external_browser: Virtual function for goa_oauth_provider_get_u se_external_browser(). | |||
* @get_use_mobile_browser: Virtual function for goa_oauth_provider_get_use _mobile_browser(). | ||||
* @get_request_uri_params: Virtual function for goa_oauth_provider_get_req uest_uri_params(). | * @get_request_uri_params: Virtual function for goa_oauth_provider_get_req uest_uri_params(). | |||
* @add_account_key_values: Virtual function for goa_oauth_provider_add_acc ount_key_values(). | * @add_account_key_values: Virtual function for goa_oauth_provider_add_acc ount_key_values(). | |||
* | * | |||
* Class structure for #GoaOAuthProvider. | * Class structure for #GoaOAuthProvider. | |||
*/ | */ | |||
struct _GoaOAuthProviderClass | struct _GoaOAuthProviderClass | |||
{ | { | |||
GoaProviderClass parent_class; | GoaProviderClass parent_class; | |||
/* pure virtual */ | /* pure virtual */ | |||
skipping to change at line 107 | skipping to change at line 108 | |||
GError **error); | GError **error); | |||
gchar *(*parse_request_token_error) (GoaOAuthProvider *provider, | gchar *(*parse_request_token_error) (GoaOAuthProvider *provider, | |||
RestProxyCall *call); | RestProxyCall *call); | |||
/* virtual but with default implementation */ | /* virtual but with default implementation */ | |||
gchar *(*build_authorization_uri) (GoaOAuthProvider *provider, | gchar *(*build_authorization_uri) (GoaOAuthProvider *provider, | |||
const gchar *authorizatio n_uri, | const gchar *authorizatio n_uri, | |||
const gchar *escaped_oaut h_token); | const gchar *escaped_oaut h_token); | |||
gboolean (*get_use_external_browser) (GoaOAuthProvider *provider); | gboolean (*get_use_external_browser) (GoaOAuthProvider *provider); | |||
gboolean (*get_use_mobile_browser) (GoaOAuthProvider *provider); | ||||
gchar **(*get_request_uri_params) (GoaOAuthProvider *provider); | gchar **(*get_request_uri_params) (GoaOAuthProvider *provider); | |||
void (*add_account_key_values) (GoaOAuthProvider *provider, | void (*add_account_key_values) (GoaOAuthProvider *provider, | |||
GVariantBuilder *builder); | GVariantBuilder *builder); | |||
/*< private >*/ | /*< private >*/ | |||
/* Padding for future expansion */ | /* Padding for future expansion */ | |||
gpointer goa_reserved[32]; | gpointer goa_reserved[32]; | |||
}; | }; | |||
GType goa_oauth_provider_get_type (void) G_GNUC_CONS T; | GType goa_oauth_provider_get_type (void) G_GNUC_CONS T; | |||
skipping to change at line 144 | skipping to change at line 146 | |||
GoaObject *object, | GoaObject *object, | |||
gboolean force_refresh, | gboolean force_refresh, | |||
gchar **out_access_token_secret, | gchar **out_access_token_secret, | |||
gint *out_access_token_expires_in, | gint *out_access_token_expires_in, | |||
GCancellable *cancellable, | GCancellable *cancellable, | |||
GError **error); | GError **error); | |||
gchar *goa_oauth_provider_build_authorization_uri (GoaOAuthProvider *provider, | gchar *goa_oauth_provider_build_authorization_uri (GoaOAuthProvider *provider, | |||
const gchar *authorization_uri, | const gchar *authorization_uri, | |||
const gchar *escaped_oauth_token); | const gchar *escaped_oauth_token); | |||
gboolean goa_oauth_provider_get_use_external_browser (GoaOAuthProvider *provider); | gboolean goa_oauth_provider_get_use_external_browser (GoaOAuthProvider *provider); | |||
gboolean goa_oauth_provider_get_use_mobile_browser (GoaOAuthProvider *provider); | ||||
void goa_oauth_provider_add_account_key_values (GoaOAuthProvider *provider, | void goa_oauth_provider_add_account_key_values (GoaOAuthProvider *provider, | |||
GVariantBuilder *builder); | GVariantBuilder *builder); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __GOA_OAUTH_PROVIDER_H__ */ | #endif /* __GOA_OAUTH_PROVIDER_H__ */ | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||
goaprovider.h | goaprovider.h | |||
---|---|---|---|---|
skipping to change at line 192 | skipping to change at line 192 | |||
GList *goa_provider_get_all (void); | GList *goa_provider_get_all (void); | |||
GoaProvider *goa_provider_get_for_provider_type (const gchar *provider_typ e); | GoaProvider *goa_provider_get_for_provider_type (const gchar *provider_typ e); | |||
/* ------------------------------------------------------------------------ ---------------------------- */ | /* ------------------------------------------------------------------------ ---------------------------- */ | |||
GtkWidget *goa_util_add_row_widget (GtkGrid *left, | GtkWidget *goa_util_add_row_widget (GtkGrid *left, | |||
GtkGrid *right, | GtkGrid *right, | |||
const gchar *label_text, | const gchar *label_text, | |||
GtkWidget *widget); | GtkWidget *widget); | |||
gchar *goa_util_get_css (void); | ||||
gchar * | gchar * | |||
goa_util_lookup_keyfile_string (GoaObject *object, | goa_util_lookup_keyfile_string (GoaObject *object, | |||
const gchar *key); | const gchar *key); | |||
gboolean | gboolean | |||
goa_util_lookup_keyfile_boolean (GoaObject *object, | goa_util_lookup_keyfile_boolean (GoaObject *object, | |||
const gchar *key); | const gchar *key); | |||
void | void | |||
goa_util_account_notify_property_cb (GObject *object, GParamSpec *pspec, gp ointer user_data); | goa_util_account_notify_property_cb (GObject *object, GParamSpec *pspec, gp ointer user_data); | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 0 lines changed or added | |||