Skip to content

setGrantTypeForOAuth (wsCONNECT)

Compatible with:
  • Purpose
  • This command is used for OAuth authentication to specify the OAuth authentication grant types to use for getting the access token. This command should be used only once.
  • Syntax
  • setGrantTypeForOAuth(grant type)
  • Target
  • The Value you specify here will be one of the following based on the grant type used in the oAuth implementation
    • Authorization Code - 01
    • Authorization Code (with PKCE) - 02
    • Client Credentials - 03
    • Implicit - 04
    • Password - 05
    • Refresh Token - 06
  • Value
  • N/A
  • Return Value
  • N/A

Example(s):


 

Feedback and Knowledge Base