Class: Anthropic::Models::Organization::Federation::FederationIssuer
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::Federation::FederationIssuer
- Defined in:
- lib/anthropic/models/organization/federation/federation_issuer.rb,
sig/anthropic/models/organization/federation/federation_issuer.rbs
Overview
Defined Under Namespace
Modules: JWKS
Instance Attribute Summary collapse
-
#archived_at ⇒ Time?
If set, all rules referencing this issuer reject token exchange.
-
#archived_by_actor_id ⇒ String?
Tagged ID (
user_/svac_) of the actor that archived this issuer. -
#check_jti ⇒ Boolean
Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer.
-
#created_at ⇒ Time
When this issuer was created.
-
#created_by_actor_id ⇒ String?
Tagged ID (
user_/svac_) of the actor that created this issuer. -
#id ⇒ String
Tagged ID of the federation issuer.
-
#issuer_url ⇒ String
The
issclaim value. -
#jwks ⇒ Anthropic::Models::Organization::Federation::JWKSDiscovery, ...
How signing keys are obtained for signature verification.
-
#jwks_polling_disabled_at ⇒ Time?
If set, Anthropic's JWKS poller has paused polling for this issuer after repeated fetch failures.
-
#max_jwt_lifetime_seconds ⇒ Integer
Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds, i.e. up to 49h).
-
#name ⇒ String
Admin-chosen slug identifier.
-
#poll_status ⇒ Anthropic::Models::Organization::Federation::FederationIssuerPollStatus?
Live state of Anthropic's JWKS polling for this issuer.
- #type ⇒ Symbol, :federation_issuer
-
#updated_at ⇒ Time
When this issuer was last updated.
-
#updated_by_actor_id ⇒ String?
Tagged ID (
user_/svac_) of the actor that last updated this issuer.
Instance Method Summary collapse
-
#initialize(id:, archived_at:, archived_by_actor_id:, check_jti:, created_at:, created_by_actor_id:, issuer_url:, jwks:, jwks_polling_disabled_at:, max_jwt_lifetime_seconds:, name:, poll_status:, updated_at:, updated_by_actor_id:, type: :federation_issuer) ⇒ void
constructor
Registered external OIDC identity provider.
- #to_hash ⇒ {
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(id:, archived_at:, archived_by_actor_id:, check_jti:, created_at:, created_by_actor_id:, issuer_url:, jwks:, jwks_polling_disabled_at:, max_jwt_lifetime_seconds:, name:, poll_status:, updated_at:, updated_by_actor_id:, type: :federation_issuer) ⇒ void
Registered external OIDC identity provider.
Records an external IdP the organization trusts for the RFC 7523 jwt-bearer
grant. The issuer_url must match the JWT iss claim exactly.
Some parameter documentations has been truncated, see Anthropic::Models::Organization::Federation::FederationIssuer for more details.
|
|
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 113
|
Instance Attribute Details
#archived_at ⇒ Time?
If set, all rules referencing this issuer reject token exchange.
19 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 19 required :archived_at, Time, nil?: true |
#archived_by_actor_id ⇒ String?
Tagged ID (user_/svac_) of the actor that archived this issuer.
25 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 25 required :archived_by_actor_id, String, nil?: true |
#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.
33 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 33 required :check_jti, Anthropic::Internal::Type::Boolean |
#created_at ⇒ Time
When this issuer was created.
39 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 39 required :created_at, Time |
#created_by_actor_id ⇒ String?
Tagged ID (user_/svac_) of the actor that created this issuer.
45 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 45 required :created_by_actor_id, String, nil?: true |
#id ⇒ String
Tagged ID of the federation issuer.
13 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 13 required :id, String |
#issuer_url ⇒ String
The iss claim value. Incoming JWTs must match exactly.
51 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 51 required :issuer_url, String |
#jwks ⇒ Anthropic::Models::Organization::Federation::JWKSDiscovery, ...
How signing keys are obtained for signature verification.
57 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 57 required :jwks, union: -> { Anthropic::Organization::Federation::FederationIssuer::JWKS } |
#jwks_polling_disabled_at ⇒ Time?
If set, Anthropic's JWKS poller has paused polling for this issuer after
repeated fetch failures. Re-enable by sending jwks_polling_disabled: false via
the issuer update endpoint (POST) once the upstream JWKS endpoint is fixed. An
OAuth caller cannot send this when the issuer backs a rule with any scope other
than workspace:developer or workspace:inference; use a Console session.
67 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 67 required :jwks_polling_disabled_at, Time, 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.
75 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 75 required :max_jwt_lifetime_seconds, Integer |
#name ⇒ String
Admin-chosen slug identifier.
81 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 81 required :name, String |
#poll_status ⇒ Anthropic::Models::Organization::Federation::FederationIssuerPollStatus?
Live state of Anthropic's JWKS polling for this issuer. Populated on both single-issuer retrieval and list responses, including archived issuers. Typically null for inline-key issuers (no polling), or when poll status is temporarily unavailable or polling has not started yet.
90 91 92 93 94 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 90 required :poll_status, -> { Anthropic::Organization::Federation::FederationIssuerPollStatus }, nil?: true |
#type ⇒ Symbol, :federation_issuer
99 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 99 required :type, const: :federation_issuer |
#updated_at ⇒ Time
When this issuer was last updated.
105 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 105 required :updated_at, Time |
#updated_by_actor_id ⇒ String?
Tagged ID (user_/svac_) of the actor that last updated this issuer.
111 |
# File 'lib/anthropic/models/organization/federation/federation_issuer.rb', line 111 required :updated_by_actor_id, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
75 |
# File 'sig/anthropic/models/organization/federation/federation_issuer.rbs', line 75 def to_hash: -> { |