Class: Aws::BedrockAgentCoreControl::Types::Oauth2Discovery

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

Overview

Note:

Oauth2Discovery is a union - when making an API calls you must set exactly one of the members.

Note:

Oauth2Discovery is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Oauth2Discovery corresponding to the set member.

Contains the discovery information for an OAuth2 provider.

Defined Under Namespace

Classes: AuthorizationServerMetadata, DiscoveryUrl, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_server_metadataTypes::Oauth2AuthorizationServerMetadata

The authorization server metadata for the OAuth2 provider.



4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 4422

class Oauth2Discovery < Struct.new(
  :discovery_url,
  :authorization_server_metadata,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DiscoveryUrl < Oauth2Discovery; end
  class AuthorizationServerMetadata < Oauth2Discovery; end
  class Unknown < Oauth2Discovery; end
end

#discovery_urlString

The discovery URL for the OAuth2 provider.

Returns:

  • (String)


4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 4422

class Oauth2Discovery < Struct.new(
  :discovery_url,
  :authorization_server_metadata,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DiscoveryUrl < Oauth2Discovery; end
  class AuthorizationServerMetadata < Oauth2Discovery; end
  class Unknown < Oauth2Discovery; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4422
4423
4424
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 4422

def unknown
  @unknown
end