Class RopcTokenRequest

java.lang.Object
com.ringcentral.definitions.RopcTokenRequest

public class RopcTokenRequest extends Object
Token endpoint request parameters used in the "Password" (also known as "Resource Owner Password Credentials" - ROPC) authorization flow with the `password` grant type
  • Field Details

    • grant_type

      public String grant_type
      Grant type Required Enum: password
    • username

      public String username
      For `password` grant type only. User login name: email or phone number in E.164 format Required
    • password

      public String password
      For `password` grant type only. User's password Required Format: password
    • extension

      public String extension
      For `password` grant type only. Optional. Extension short number. If a company number is specified as a username, and extension is not specified, the server will attempt to authenticate client as main company administrator

      DEPRECATED: use extension number embedded into username string like `+16501234567*101`

    • pin

      public String pin
      IVR pin for pin-based authentication.

      DEPRECATED: use a dedicated `ivr_pin` grant type instead

  • Constructor Details

    • RopcTokenRequest

      public RopcTokenRequest()
  • Method Details