Class: Aws::Appflow::Types::OAuth2Properties

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

Overview

Note:

When making an API call, you may pass OAuth2Properties data as a hash:

{
  token_url: "TokenUrl", # required
  o_auth_2_grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, AUTHORIZATION_CODE
  token_url_custom_properties: {
    "CustomPropertyKey" => "CustomPropertyValue",
  },
}

The OAuth 2.0 properties required for OAuth 2.0 authentication.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#o_auth_2_grant_typeString

The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.

Returns:

  • (String)


4762
4763
4764
4765
4766
4767
4768
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4762

class OAuth2Properties < Struct.new(
  :token_url,
  :o_auth_2_grant_type,
  :token_url_custom_properties)
  SENSITIVE = []
  include Aws::Structure
end

#token_urlString

The token URL required for OAuth 2.0 authentication.

Returns:

  • (String)


4762
4763
4764
4765
4766
4767
4768
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4762

class OAuth2Properties < Struct.new(
  :token_url,
  :o_auth_2_grant_type,
  :token_url_custom_properties)
  SENSITIVE = []
  include Aws::Structure
end

#token_url_custom_propertiesHash<String,String>

Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request.

Returns:

  • (Hash<String,String>)


4762
4763
4764
4765
4766
4767
4768
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4762

class OAuth2Properties < Struct.new(
  :token_url,
  :o_auth_2_grant_type,
  :token_url_custom_properties)
  SENSITIVE = []
  include Aws::Structure
end