Class: Aws::CredentialBrokerControl::Types::CognitoOAuthConfigurationInput

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

Overview

Settings for a provider that obtains credentials from an Amazon Cognito user pool. The user pool determines the endpoints, so userPoolId is required.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_authentication_configuration ⇒ Types::ClientAuthenticationConfigurationInput

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.



348
349
350
351
352
353
354
355
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 348

class CognitoOAuthConfigurationInput < Struct.new(
  :client_authentication_configuration,
  :user_pool_id,
  :cognito_region,
  :on_behalf_of_token_exchange_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#cognito_region ⇒ String

Defaults to the call region when omitted.

Returns:

  • (String)


348
349
350
351
352
353
354
355
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 348

class CognitoOAuthConfigurationInput < Struct.new(
  :client_authentication_configuration,
  :user_pool_id,
  :cognito_region,
  :on_behalf_of_token_exchange_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#on_behalf_of_token_exchange_configuration ⇒ Types::OnBehalfOfTokenExchangeConfigurationInput

Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.



348
349
350
351
352
353
354
355
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 348

class CognitoOAuthConfigurationInput < Struct.new(
  :client_authentication_configuration,
  :user_pool_id,
  :cognito_region,
  :on_behalf_of_token_exchange_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#user_pool_id ⇒ String

Identifier of the Amazon Cognito user pool that issues the credentials.

Returns:

  • (String)


348
349
350
351
352
353
354
355
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 348

class CognitoOAuthConfigurationInput < Struct.new(
  :client_authentication_configuration,
  :user_pool_id,
  :cognito_region,
  :on_behalf_of_token_exchange_configuration)
  SENSITIVE = []
  include Aws::Structure
end