Class: Anthropic::Models::Beta::Organization::Federation::BetaJWKSExplicitURL

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/organization/federation/beta_jwks_explicit_url.rb,
sig/anthropic/models/beta/organization/federation/beta_jwks_explicit_url.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(url:, ca_cert_pem: nil, type: :explicit_url) ⇒ Object

JWKS fetched from a fixed endpoint.

Parameters:

  • url (String)

    JWKS endpoint.

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

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

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


# File 'lib/anthropic/models/beta/organization/federation/beta_jwks_explicit_url.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)


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

optional :ca_cert_pem, String, nil?: true

#typeSymbol, :explicit_url

Parameters:

  • value (:explicit_url)

Returns:

  • (Symbol, :explicit_url)


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

required :type, const: :explicit_url

#urlString

JWKS endpoint.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {