Class: Anthropic::Models::Beta::Organization::Federation::BetaJWKSDiscovery

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/organization/federation/beta_jwks_discovery.rb,
sig/anthropic/models/beta/organization/federation/beta_jwks_discovery.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(ca_cert_pem: nil, discovery_base: nil, type: :discovery) ⇒ Object

JWKS via the issuer's OIDC discovery document.

Parameters:

  • ca_cert_pem (String, nil) (defaults to: nil)

    Optional custom CA (PEM) for TLS verification of the JWKS fetch.

  • discovery_base (String, nil) (defaults to: nil)

    Set when the discovery URL differs from issuer_url.

  • type (Symbol, :discovery) (defaults to: :discovery)


# File 'lib/anthropic/models/beta/organization/federation/beta_jwks_discovery.rb', line 26

Instance Attribute Details

#ca_cert_pemString?

Optional custom CA (PEM) for TLS verification of the JWKS fetch.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


18
# File 'lib/anthropic/models/beta/organization/federation/beta_jwks_discovery.rb', line 18

optional :ca_cert_pem, String, nil?: true

#discovery_baseString?

Set when the discovery URL differs from issuer_url.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


24
# File 'lib/anthropic/models/beta/organization/federation/beta_jwks_discovery.rb', line 24

optional :discovery_base, String, nil?: true

#typeSymbol, :discovery

Parameters:

  • value (:discovery)

Returns:

  • (Symbol, :discovery)


12
# File 'lib/anthropic/models/beta/organization/federation/beta_jwks_discovery.rb', line 12

required :type, const: :discovery

Instance Method Details

#to_hash{

Returns:

  • ({)


22
# File 'sig/anthropic/models/beta/organization/federation/beta_jwks_discovery.rbs', line 22

def to_hash: -> {