Method Web.Auth.OAuth2.Base()->do_query()
- Method do_query
protected string do_query(string oauth_token_uri, Web.Auth.Params p, void|function(bool, string:void) async_cb)
- Description
Send a request to oauth_token_uri with params p
- Parameter async_cb
If given an async request will be made and this function will be called when the request is finished. The first argument passed to the callback will be
true
orfalse
depending on if the request was successfull or not. The second argument will be a string. If the request failed it will be an error message. If it succeeded it will be the result as a string encoded with encode_value().