org.gnome.OnlineAccounts.OAuthBased

org.gnome.OnlineAccounts.OAuthBased

Methods

GetAccessToken (OUT s access_token,
                OUT s access_token_secret,
                OUT i expires_in);

Properties

ConsumerKey     readable   s
ConsumerSecret  readable   s

Description

An account object implements this interface if OAuth 1.0 tokens are used for accessing it.

Method Details

The GetAccessToken() method

GetAccessToken (OUT s access_token,
                OUT s access_token_secret,
                OUT i expires_in);

Use this method to obtain an access token that can be used to to access services for the account. Because networking is involved, this method may take a very long time to complete.

Note that calls to this method are logged.

OUT s access_token:

The access token.

OUT s access_token_secret:

The access token secret.

OUT i expires_in:

The duration that the returned token is valid for, in seconds, or 0 if unknown.

Property Details

The "ConsumerKey" property

ConsumerKey  readable   s

The consumer key.


The "ConsumerSecret" property

ConsumerSecret  readable   s

The consumer secret.