OAuth1Authorizer
Object Hierarchy:
Description:
[
CCode ( type_id =
"gdata_oauth1_authorizer_get_type ()" ) ]
[
Version ( since =
"0.9.0" ) ]
public class OAuth1Authorizer :
Object,
Authorizer
All the fields in the OAuth1Authorizer structure are private and should never be accessed directly.
Content:
Properties:
Creation methods:
Methods:
- public unowned string? get_application_name ()
- public unowned string? get_locale ()
Returns the locale currently being used for network requests, or
null if the locale is the default.
- public unowned ProxyResolver? get_proxy_resolver ()
- public URI? get_proxy_uri ()
Gets the proxy URI on the OAuth1Authorizer
's Session.
- public uint get_timeout ()
Gets the
timeout property; the network timeout, in seconds.
- public string request_authentication_uri (out string token, out string token_secret, Cancellable? cancellable = null) throws Error
Requests a fresh unauthenticated token from the Google accounts
service and builds and returns the URI of an authentication page for that token.
- public async string request_authentication_uri_async (Cancellable? cancellable, out string token, out string token_secret) throws Error
Requests a fresh unauthenticated token from the Google accounts
service and builds and returns the URI of an authentication page for that token.
- public bool request_authorization (string token, string token_secret, string verifier, Cancellable? cancellable = null) throws Error
Requests authorization of the given request token from
the Google accounts service using the given verifier as entered by the user from the authentication page at the URI
returned by request_authentication_uri.
- public async bool request_authorization_async (string token, string token_secret, string verifier, Cancellable? cancellable) throws Error
Requests authorization of the given request token from
the Google accounts service using the given verifier as entered by the user.
- public void set_locale (string? locale)
Set the locale used for network requests to locale, given
in standard Unix locale format.
- public void set_proxy_resolver (ProxyResolver? proxy_resolver)
- public void set_proxy_uri (URI? proxy_uri)
Sets the proxy URI on the
Session used internally by the OAuth1Authorizer
.
- public void set_timeout (uint timeout)
Sets the
timeout property; the network timeout, in seconds.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface GData.Authorizer