AddParam Method

Adds a name-value pair to the query string parameters of outgoing request.

Object Oriented Interface

public function doAddParam($paramname, $paramvalue);

Procedural Interface

cloudmail_oauth_do_addparam($res, $paramname, $paramvalue);


This method can be used to add query string parameters to the outgoing request. One common use for this method would be to add the "state" parameter to the request, which can be used when the ClientProfile is cfWebServer to add user defined data. The authorization server will include the "state" parameter in the response and will be available in the post back to your server which will allow you to maintain state in your application.

Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 PHP Edition - Version 20.0 [Build 7718]