This function is analogous to 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.
this | |
access_token |
an OAuth 2.0 access token |
expires_in_seconds |
expiry for |