Class: Aws::BedrockAgentCore::Types::OAuth2Authentication

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

Overview

OAuth2 authentication information for third-party providers.

Constant Summary collapse

SENSITIVE =
[:email_address]

Instance Attribute Summary collapse

Instance Attribute Details

#email_address ⇒ String

The email address from the OAuth2 provider.

Returns:

  • (String)


8114
8115
8116
8117
8118
8119
8120
8121
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8114

class OAuth2Authentication < Struct.new(
  :sub,
  :email_address,
  :name,
  :username)
  SENSITIVE = [:email_address]
  include Aws::Structure
end

#name ⇒ String

The user's name from the OAuth2 provider.

Returns:

  • (String)


8114
8115
8116
8117
8118
8119
8120
8121
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8114

class OAuth2Authentication < Struct.new(
  :sub,
  :email_address,
  :name,
  :username)
  SENSITIVE = [:email_address]
  include Aws::Structure
end

#sub ⇒ String

The subject (sub) claim from the OAuth2 provider. Uniquely identifies the user at the provider.

Returns:

  • (String)


8114
8115
8116
8117
8118
8119
8120
8121
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8114

class OAuth2Authentication < Struct.new(
  :sub,
  :email_address,
  :name,
  :username)
  SENSITIVE = [:email_address]
  include Aws::Structure
end

#username ⇒ String

The username from the OAuth2 provider.

Returns:

  • (String)


8114
8115
8116
8117
8118
8119
8120
8121
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 8114

class OAuth2Authentication < Struct.new(
  :sub,
  :email_address,
  :name,
  :username)
  SENSITIVE = [:email_address]
  include Aws::Structure
end