WorkspaceConnectionOAuth2Response

data class WorkspaceConnectionOAuth2Response(val authUrl: String? = null, val clientId: String? = null, val clientSecret: String? = null, val developerToken: String? = null, val password: String? = null, val refreshToken: String? = null, val tenantId: String? = null, val username: String? = null)

ClientId and ClientSecret are required. Other properties are optional depending on each OAuth2 provider's implementation.

Constructors

Link copied to clipboard
constructor(authUrl: String? = null, clientId: String? = null, clientSecret: String? = null, developerToken: String? = null, password: String? = null, refreshToken: String? = null, tenantId: String? = null, username: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val authUrl: String? = null

Required by Concur connection category

Link copied to clipboard
val clientId: String? = null

Client id in the format of UUID

Link copied to clipboard
val clientSecret: String? = null
Link copied to clipboard
val developerToken: String? = null

Required by GoogleAdWords connection category

Link copied to clipboard
val password: String? = null
Link copied to clipboard
val refreshToken: String? = null

Required by GoogleBigQuery, GoogleAdWords, Hubspot, QuickBooks, Square, Xero, Zoho where user needs to get RefreshToken offline

Link copied to clipboard
val tenantId: String? = null

Required by QuickBooks and Xero connection categories

Link copied to clipboard
val username: String? = null

Concur, ServiceNow auth server AccessToken grant type is 'Password' which requires UsernamePassword