Method
EDataServerSoupAuthBearerset_access_token
since: 3.10
Declaration [src]
void
e_soup_auth_bearer_set_access_token (
ESoupAuthBearer* bearer,
const gchar* access_token,
gint expires_in_seconds
)
Description [src]
This function is analogous to soup_auth_authenticate() for “Basic” HTTP
authentication, except it takes an OAuth 2.0 access token instead of a
username and password.
If expires_in_seconds is greater than zero, soup_auth_is_authenticated()
will return FALSE after the given number of seconds have elapsed.
Available since: 3.10