Class: Anthropic::Models::Organization::Federation::IssuerUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/organization/federation/issuer_update_params.rb,
sig/anthropic/models/organization/federation/issuer_update_params.rbs

Overview

See Also:

  • Anthropic::Resources::Organization::Federation::Issuers#update

Defined Under Namespace

Modules: JWKS

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::Anthropic

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(federation_issuer_id:, check_jti: nil, issuer_url: nil, jwks: nil, jwks_polling_disabled: nil, max_jwt_lifetime_seconds: nil, name: nil, request_options: {}) ⇒ void

Some parameter documentations has been truncated, see Anthropic::Models::Organization::Federation::IssuerUpdateParams for more details.

Parameters:

  • federation_issuer_id (String) —

    ID of the federation issuer to update.

  • check_jti (Boolean, nil) (defaults to: nil) —

    Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for

  • issuer_url (String, nil) (defaults to: nil) —

    Replaces the iss claim value to match against. For discovery-mode issuers with

  • jwks (Anthropic::Models::Organization::Federation::JWKSDiscovery, Anthropic::Models::Organization::Federation::JWKSExplicitURL, Anthropic::Models::Organization::Federation::JWKSInline, nil) (defaults to: nil) —

    Replaces the entire JWKS configuration.

  • jwks_polling_disabled (Boolean, nil) (defaults to: nil) —

    Only false is accepted, to re-enable polling after the system pauses it. Polli

  • max_jwt_lifetime_seconds (Integer, nil) (defaults to: nil) —

    Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds

  • name (String, nil) (defaults to: nil) —

    Replaces the slug identifier (lowercase, digits, hyphens). Unique within the org

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/anthropic/models/organization/federation/issuer_update_params.rb', line 68

Instance Attribute Details

#check_jti ⇒ Boolean?

Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Applies only to assertions carrying a jti claim; tokens without one are accepted without single-use enforcement.

Parameters:

Returns:



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

optional :check_jti, Anthropic::Internal::Type::Boolean, nil?: true

#federation_issuer_id ⇒ String

ID of the federation issuer to update.

Parameters:

  • value (String)

Returns:

  • (String)


16
# File 'lib/anthropic/models/organization/federation/issuer_update_params.rb', line 16

required :federation_issuer_id, String

#issuer_url ⇒ String?

Replaces the iss claim value to match against. For discovery-mode issuers without a discovery_base, this is also the URL Anthropic fetches the OIDC discovery document and signing keys from, so changing it repoints the JWKS source. Changing the issuer URL to a well-known shared platform is rejected while any live rule under this issuer would not constrain tenant identity.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


34
# File 'lib/anthropic/models/organization/federation/issuer_update_params.rb', line 34

optional :issuer_url, String, nil?: true

#jwks ⇒ Anthropic::Models::Organization::Federation::JWKSDiscovery, ...

Replaces the entire JWKS configuration.

Parameters:

  • value (Anthropic::Models::Organization::Federation::IssuerUpdateParams::jwks, nil)

Returns:



40
41
42
43
44
# File 'lib/anthropic/models/organization/federation/issuer_update_params.rb', line 40

optional :jwks,
union: -> {
  Anthropic::Organization::Federation::IssuerUpdateParams::JWKS
},
nil?: true

#jwks_polling_disabled ⇒ Boolean?

Only false is accepted, to re-enable polling after the system pauses it. Polling is paused automatically; sending true is rejected.

Parameters:

Returns:



51
# File 'lib/anthropic/models/organization/federation/issuer_update_params.rb', line 51

optional :jwks_polling_disabled, Anthropic::Internal::Type::Boolean, nil?: true

#max_jwt_lifetime_seconds ⇒ Integer?

Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds, i.e. up to 49h). Assertions must carry both iat and exp; a missing iat is rejected.

Parameters:

  • value (Integer, nil)

Returns:

  • (Integer, nil)


59
# File 'lib/anthropic/models/organization/federation/issuer_update_params.rb', line 59

optional :max_jwt_lifetime_seconds, Integer, nil?: true

#name ⇒ String?

Replaces the slug identifier (lowercase, digits, hyphens). Unique within the organization; a duplicate name returns 409.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


66
# File 'lib/anthropic/models/organization/federation/issuer_update_params.rb', line 66

optional :name, String, nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


46
# File 'sig/anthropic/models/organization/federation/issuer_update_params.rbs', line 46

def to_hash: -> {