IPWorks Auth 2020 JavaScript Edition

Questions / Feedback?

AddParam Method

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

Syntax

oauth.addParam(paramName : string, paramValue : string): void

Remarks

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.
IPWorks Auth 2020 JavaScript Edition - Version 20.0 [Build 7721]