Method Web.Auth.OAuth2.Base()->do_query()
- Method
do_query
protectedstring|zerodo_query(string|zerooauth_token_uri,Web.Auth.Paramsp,void|function(bool,string:void)async_cb)- Description
Send a request to
oauth_token_uriwith paramsp- 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
trueorfalsedepending 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().