Top | ![]() |
![]() |
![]() |
![]() |
void ap_oauth_plugin_set_mechanism (ApOAuthPlugin *self
,ApOAuthMechanism mechanism
);
Set the OAuth mechanism to be used when authenticating the account.
void ap_oauth_plugin_set_oauth_parameters (ApOAuthPlugin *self
,GHashTable *oauth_params
);
Sets the dictionary of OAuth parameters to be used when authenticating the
account. Note that these parameters are not stored in the account and will
be used only by the account plugin.
To set the authentication parameters used by applications, use
ap_oauth_plugin_set_account_oauth_parameters()
.
self |
the ApOAuthPlugin. |
|
oauth_params |
a dictionary of OAuth parameters. |
[element-type utf8 GValue] |
void ap_oauth_plugin_set_account_oauth_parameters (ApOAuthPlugin *self
,GHashTable *oauth_params
);
Sets the dictionary of OAuth parameters to be used by client applications
when authenticating the account. These are the parameters which will be
stored into the account configuration (those used by the plugin itself when
authenticating are those set with ap_oauth_plugin_set_oauth_parameters()
).
self |
the ApOAuthPlugin. |
|
oauth_params |
a dictionary of OAuth parameters. |
[element-type utf8 GValue] |