Skip to content

setStateForOAuth (wsCONNECT)

Compatible with:
  • Purpose
  • This command is used for OAuth authentication type. An opaque value used by the client to maintain state between the request and call-back. The authorization server includes this value when redirecting the user-agent back to the client. The application generates a random string and includes it in the request. It should then check that the same value is returned after the user authorizes the application. This is used for preventing the cross-site request forgery.
  • Syntax
  • setStateForOAuth (opaque value generated by client)
  • Target
  • {Variable/(opaque value)}
  • Value
  • N/A
  • Return Value
  • N/A

Example(s):


 

Feedback and Knowledge Base