Class: Aws::CredentialBrokerControl::Types::OAuthDiscovery

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

Overview

Note:

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

Note:

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

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Defined Under Namespace

Classes: AuthorizationServerMetadata, DiscoveryUrl, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_server_metadata ⇒ Types::AuthorizationServerMetadata

The authorization server's endpoints, supplied explicitly instead of discovered.



1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 1830

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

  class DiscoveryUrl < OAuthDiscovery; end
  class AuthorizationServerMetadata < OAuthDiscovery; end
  class Unknown < OAuthDiscovery; end
end

#discovery_url ⇒ String

URL of the authorization server's discovery document. The service fetches it and resolves the endpoints from it.

Returns:

  • (String)


1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 1830

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

  class DiscoveryUrl < OAuthDiscovery; end
  class AuthorizationServerMetadata < OAuthDiscovery; end
  class Unknown < OAuthDiscovery; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1830
1831
1832
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 1830

def unknown
  @unknown
end