Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 802 Bytes

File metadata and controls

24 lines (18 loc) · 802 Bytes

SunshineConversationsClient::GetTokenRequest

Properties

Name Type Description Notes
code String The authorization code received via the OAuth flow
grant_type String Must be set to the string `authorization_code`
client_id String Your OAuth client ID, provisioned during the partner application process
client_secret String Your OAuth client secret, provisioned during the partner application process

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::GetTokenRequest.new(
  code: 658965,
  grant_type: authorization_code,
  client_id: 5e4af71a81966cfff3ef6550,
  client_secret: 5XJ85yjUtRcaQu_pDINblPZb
)