OAuthProxy
Object Hierarchy:
Description:
[
CCode ( cname =
"OAuthProxy" , lower_case_cprefix =
"oauth_proxy_" , type_id =
"oauth_proxy_get_type ()" ) ]
public class OAuthProxy :
Proxy
OAuthProxy has no publicly available members.
Content:
Properties:
Creation methods:
- public OAuthProxy (string consumer_key, string consumer_secret, string url_format, bool binding_required)
Create a new OAuthProxy for the specified
endpoint url_format, using the specified API key and secret.
- public OAuthProxy.with_token (string consumer_key, string consumer_secret, string token, string token_secret, string url_format, bool binding_required)
Create a new OAuthProxy for the specified
endpoint url_format, using the specified API key and secret.
Methods:
- public bool access_token (string function, string verifier) throws Error
Perform the Access Token phase of OAuth, invoking function
(defaulting to "access_token" if function is NULL).
- public bool access_token_async (string function, string verifier, OAuthProxyAuthCallback callback, Object weak_object) throws Error
Perform the Access Token phase of OAuth, invoking function
(defaulting to "access_token" if function is NULL).
- public bool auth_step (string function) throws Error
Perform an OAuth authorisation step.
- public bool auth_step_async (string function, OAuthProxyAuthCallback callback, Object weak_object) throws Error
Perform an OAuth authorisation step.
- public unowned string get_signature_host ()
Get the signature hostname used when creating a signature base string.
- public unowned string get_token ()
Get the current request or access token.
- public unowned string get_token_secret ()
Get the current request or access token secret.
- public bool is_oauth10a ()
Determines if the server supports OAuth 1.0a with this proxy.
- public Proxy new_echo_proxy (string service_url, string url_format, bool binding_required)
Create a new <ulink url="http://www.
- public bool request_token (string function, string callback_uri) throws Error
Perform the Request Token phase of OAuth, invoking function
(defaulting to "request_token" if function is NULL).
- public bool request_token_async (string function, string callback_uri, OAuthProxyAuthCallback callback, Object weak_object) throws Error
Perform the Request Token phase of OAuth, invoking function
(defaulting to "request_token" if function is NULL).
- public void set_signature_host (string signature_host)
Set the signature hostname used when creating a signature base string.
- public void set_token (string token)
Set the access token.
- public void set_token_secret (string token_secret)
Set the access token secret.
Inherited Members:
All known members inherited from class Rest.Proxy
All known members inherited from class GLib.Object