WorkspaceConnectionOAuth2 interface
ClientId and ClientSecret are required. Other properties are optional depending on each OAuth2 provider's implementation.
Properties
auth |
Required by Concur connection category |
client |
Client id in the format of UUID |
client |
|
developer |
Required by GoogleAdWords connection category |
password | |
refresh |
Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho where user needs to get RefreshToken offline |
tenant |
Required by QuickBooks and Xero connection categories |
username | Concur, ServiceNow auth server AccessToken grant type is 'Password' which requires UsernamePassword |
Property Details
authUrl
Required by Concur connection category
authUrl?: string
Property Value
string
clientId
Client id in the format of UUID
clientId?: string
Property Value
string
clientSecret
clientSecret?: string
Property Value
string
developerToken
Required by GoogleAdWords connection category
developerToken?: string
Property Value
string
password
password?: string
Property Value
string
refreshToken
Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho where user needs to get RefreshToken offline
refreshToken?: string
Property Value
string
tenantId
Required by QuickBooks and Xero connection categories
tenantId?: string
Property Value
string
username
Concur, ServiceNow auth server AccessToken grant type is 'Password' which requires UsernamePassword
username?: string
Property Value
string