Class: Aws::Glue::Types::AuthorizationCodeProperties

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

Overview

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

Constant Summary collapse

SENSITIVE =
[:authorization_code]

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_codeString

An authorization code to be used in the third leg of the ‘AUTHORIZATION_CODE` grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.

Returns:

  • (String)


564
565
566
567
568
569
# File 'lib/aws-sdk-glue/types.rb', line 564

class AuthorizationCodeProperties < Struct.new(
  :authorization_code,
  :redirect_uri)
  SENSITIVE = [:authorization_code]
  include Aws::Structure
end

#redirect_uriString

The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.

Returns:

  • (String)


564
565
566
567
568
569
# File 'lib/aws-sdk-glue/types.rb', line 564

class AuthorizationCodeProperties < Struct.new(
  :authorization_code,
  :redirect_uri)
  SENSITIVE = [:authorization_code]
  include Aws::Structure
end