java.lang.Object
com.ringcentral.paths.restapi.oauth.token.Index

public class Index extends Object
  • Field Details

  • Constructor Details

    • Index

      public Index(Index parent)
  • Method Details

    • path

      public String path()
    • path

      public String path(Boolean withParameter)
    • post

      public TokenInfo post(GetTokenRequest getTokenRequest) throws RestException, IOException
      Returns access (and potentially refresh) tokens for making API requests.

      Depending on client application type requests to this endpoint may require authentication with HTTP Basic scheme using registered client ID and client secret as login and password, correspondingly.

      HTTP Method: post Endpoint: /restapi/oauth/token Rate Limit Group: Auth

      Throws:
      RestException
      IOException