Skip to content

ManagedOAuthStateResponse

Account-level managed OAuth setup state for the selected connector.

Properties

Property Type Required Description
isAdmin boolean Yes Whether the supplied RingCentral token belongs to an account administrator.
hasAccountOAuth boolean Yes Whether completed account-scoped OAuth configuration exists for the connector.
hasPendingOAuth boolean Yes Whether administrator-supplied OAuth values are cached for an unfinished authorization flow.
oauthValues object of any No Completed managed OAuth values that are safe to return to the requesting client.
pendingValues object of any No Cached values for the administrator's in-progress OAuth setup. This object can contain sensitive client credentials.

Example

{
  "isAdmin": false,
  "hasAccountOAuth": false,
  "hasPendingOAuth": false,
  "oauthValues": {},
  "pendingValues": {}
}