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.



3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3771

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)


3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3771

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



3771
3772
3773
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 3771

def unknown
  @unknown
end