Sets additional form parameters to be used in the POST request when requesting access token after successfully obtained authorization code.
The default implementation sets some values too, namely "code", "client_id", "client_secret", "redirect_uri" and "grant_type". These parameters are always provided, even when the interface implementer overrides this method.
The form
hash table expects both key and value to be newly allocated strings, which will be freed together with the hash
table or when the key is replaced.
this | |
source |
an associated Source |
authorization_code |
authorization code, as returned from extract_authorization_code |
form |
form parameters to be used in the POST request |