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, FORBIDDEN will be returned if the user or server denied the
authorisation request. PROTOCOL_ERROR will be returned if the
server didn’t follow the expected protocol. CANCELLED will be returned if the operation was cancelled
using cancellable
.
this | |
authorization_code |
code returned from the authentication page |
cancellable |
a Cancellable, or |
|