Class: Aws::Glue::Types::OAuth2PropertiesInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-glue/types.rb

Overview

A structure containing properties for OAuth2 in the CreateConnection request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_code_propertiesTypes::AuthorizationCodeProperties

The set of properties required for the the OAuth2 ‘AUTHORIZATION_CODE` grant type.



19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
# File 'lib/aws-sdk-glue/types.rb', line 19784

class OAuth2PropertiesInput < Struct.new(
  :o_auth_2_grant_type,
  :o_auth_2_client_application,
  :token_url,
  :token_url_parameters_map,
  :authorization_code_properties,
  :o_auth_2_credentials)
  SENSITIVE = []
  include Aws::Structure
end

#o_auth_2_client_applicationTypes::OAuth2ClientApplication

The client application type in the CreateConnection request. For example, ‘AWS_MANAGED` or `USER_MANAGED`.



19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
# File 'lib/aws-sdk-glue/types.rb', line 19784

class OAuth2PropertiesInput < Struct.new(
  :o_auth_2_grant_type,
  :o_auth_2_client_application,
  :token_url,
  :token_url_parameters_map,
  :authorization_code_properties,
  :o_auth_2_credentials)
  SENSITIVE = []
  include Aws::Structure
end

#o_auth_2_credentialsTypes::OAuth2Credentials

The credentials used when the authentication type is OAuth2 authentication.



19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
# File 'lib/aws-sdk-glue/types.rb', line 19784

class OAuth2PropertiesInput < Struct.new(
  :o_auth_2_grant_type,
  :o_auth_2_client_application,
  :token_url,
  :token_url_parameters_map,
  :authorization_code_properties,
  :o_auth_2_credentials)
  SENSITIVE = []
  include Aws::Structure
end

#o_auth_2_grant_typeString

The OAuth2 grant type in the CreateConnection request. For example, ‘AUTHORIZATION_CODE`, `JWT_BEARER`, or `CLIENT_CREDENTIALS`.

Returns:

  • (String)


19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
# File 'lib/aws-sdk-glue/types.rb', line 19784

class OAuth2PropertiesInput < Struct.new(
  :o_auth_2_grant_type,
  :o_auth_2_client_application,
  :token_url,
  :token_url_parameters_map,
  :authorization_code_properties,
  :o_auth_2_credentials)
  SENSITIVE = []
  include Aws::Structure
end

#token_urlString

The URL of the provider’s authentication server, to exchange an authorization code for an access token.

Returns:

  • (String)


19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
# File 'lib/aws-sdk-glue/types.rb', line 19784

class OAuth2PropertiesInput < Struct.new(
  :o_auth_2_grant_type,
  :o_auth_2_client_application,
  :token_url,
  :token_url_parameters_map,
  :authorization_code_properties,
  :o_auth_2_credentials)
  SENSITIVE = []
  include Aws::Structure
end

#token_url_parameters_mapHash<String,String>

A map of parameters that are added to the token ‘GET` request.

Returns:

  • (Hash<String,String>)


19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
# File 'lib/aws-sdk-glue/types.rb', line 19784

class OAuth2PropertiesInput < Struct.new(
  :o_auth_2_grant_type,
  :o_auth_2_client_application,
  :token_url,
  :token_url_parameters_map,
  :authorization_code_properties,
  :o_auth_2_credentials)
  SENSITIVE = []
  include Aws::Structure
end