Class
RestOAuth2Proxy
Constructors
rest_oauth2_proxy_new
Create a new RestOAuth2Proxy
.
Instance methods
rest_oauth2_proxy_fetch_access_token_async
rest_oauth2_proxy_fetch_access_token_finish
rest_oauth2_proxy_get_access_token
rest_oauth2_proxy_get_auth_url
rest_oauth2_proxy_get_client_id
rest_oauth2_proxy_get_client_secret
rest_oauth2_proxy_get_expiration_date
rest_oauth2_proxy_get_redirect_uri
rest_oauth2_proxy_get_refresh_token
rest_oauth2_proxy_get_token_url
rest_oauth2_proxy_refresh_access_token
rest_oauth2_proxy_refresh_access_token_async
rest_oauth2_proxy_refresh_access_token_finish
rest_oauth2_proxy_set_access_token
rest_oauth2_proxy_set_auth_url
rest_oauth2_proxy_set_client_id
rest_oauth2_proxy_set_client_secret
rest_oauth2_proxy_set_expiration_date
rest_oauth2_proxy_set_redirect_uri
rest_oauth2_proxy_set_refresh_token
rest_oauth2_proxy_set_token_url
Methods inherited from RestProxy (8)
rest_proxy_add_soup_feature
This method can be used to add specific features to the SoupSession
objects
that are used by librest for its HTTP connections. For example, if one needs
extensive control over the cookies which are used for the REST HTTP
communication, it’s possible to get full access to libsoup cookie API by using.
Available since: 0.7.92
rest_proxy_bind
rest_proxy_bind_valist
rest_proxy_get_user_agent
rest_proxy_new_call
Create a new RestProxyCall
for making a call to the web service. This call
is one-shot and should not be re-used for making multiple calls.
rest_proxy_set_user_agent
rest_proxy_simple_run
rest_proxy_simple_run_valist
Properties
Rest.OAuth2Proxy:access-token
Rest.OAuth2Proxy:auth-url
Rest.OAuth2Proxy:client-id
Rest.OAuth2Proxy:client-secret
Rest.OAuth2Proxy:expiration-date
Rest.OAuth2Proxy:redirect-uri
Rest.OAuth2Proxy:refresh-token
Rest.OAuth2Proxy:token-url
Properties inherited from RestProxy (8)
Rest.Proxy:binding-required
Rest.Proxy:disable-cookies
Rest.Proxy:password
Rest.Proxy:ssl-ca-file
Rest.Proxy:ssl-strict
Rest.Proxy:url-format
Rest.Proxy:user-agent
Rest.Proxy:username
Signals
Signals inherited from RestProxy (1)
Rest.Proxy::authenticate
Emitted when the proxy requires authentication. If
credentials are available, set the ‘username’ and ‘password’
properties on proxy
and return TRUE
from the callback.
This will cause the signal emission to stop, and librest will
try to connect with these credentials
If these credentials fail, the signal will be
emitted again, with retrying
set to TRUE
, which will
continue until FALSE
is returned from the callback.
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct RestOAuth2ProxyClass {
RestProxyClass parent_class;
void (* parse_access_token) (
RestOAuth2Proxy* self,
GBytes* payload,
GTask* task
);
None padding;
}
Class members
parent_class |
|
No description available. | |
parse_access_token |
|
No description available. | |
padding |
|
No description available. |