Class: Aws::Appflow::Types::OAuth2Credentials

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb

Overview

The OAuth 2.0 credentials required for OAuth 2.0 authentication.

Constant Summary collapse

SENSITIVE =
[:client_secret, :access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token used to access the connector on your behalf.

Returns:

  • (String)


3329
3330
3331
3332
3333
3334
3335
3336
3337
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 3329

class OAuth2Credentials < Struct.new(
  :client_id,
  :client_secret,
  :access_token,
  :refresh_token,
  :o_auth_request)
  SENSITIVE = [:client_secret, :access_token]
  include Aws::Structure
end

#client_idString

The identifier for the desired client.

Returns:

  • (String)


3329
3330
3331
3332
3333
3334
3335
3336
3337
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 3329

class OAuth2Credentials < Struct.new(
  :client_id,
  :client_secret,
  :access_token,
  :refresh_token,
  :o_auth_request)
  SENSITIVE = [:client_secret, :access_token]
  include Aws::Structure
end

#client_secretString

The client secret used by the OAuth client to authenticate to the authorization server.

Returns:

  • (String)


3329
3330
3331
3332
3333
3334
3335
3336
3337
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 3329

class OAuth2Credentials < Struct.new(
  :client_id,
  :client_secret,
  :access_token,
  :refresh_token,
  :o_auth_request)
  SENSITIVE = [:client_secret, :access_token]
  include Aws::Structure
end

#o_auth_requestTypes::ConnectorOAuthRequest

Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.



3329
3330
3331
3332
3333
3334
3335
3336
3337
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 3329

class OAuth2Credentials < Struct.new(
  :client_id,
  :client_secret,
  :access_token,
  :refresh_token,
  :o_auth_request)
  SENSITIVE = [:client_secret, :access_token]
  include Aws::Structure
end

#refresh_tokenString

The refresh token used to refresh an expired access token.

Returns:

  • (String)


3329
3330
3331
3332
3333
3334
3335
3336
3337
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 3329

class OAuth2Credentials < Struct.new(
  :client_id,
  :client_secret,
  :access_token,
  :refresh_token,
  :o_auth_request)
  SENSITIVE = [:client_secret, :access_token]
  include Aws::Structure
end