Request an authorisation code from the user’s web browser is converted to authorisation (access and refresh) tokens.
This is the final step in the authentication process; once complete, the OAuth2Authorizer should be fully authorised for its domains.
On failure, gdata_service_error_forbidden will be returned if the user or server denied the
authorisation request. gdata_service_error_protocol_error will be returned if the server didn’t follow
the expected protocol. g_io_error_cancelled will be returned if the operation was cancelled using
cancellable.
| this | |
| authorization_code |
code returned from the authentication page |
| cancellable |
a Cancellable, or null |
|
true on success, false otherwise |