Class BetaFederationIssuer
-
- All Implemented Interfaces:
public final class BetaFederationIssuerRegistered external OIDC identity provider.
Records an external IdP the organization trusts for the RFC 7523 jwt-bearer grant. The
issuer_urlmust match the JWTissclaim exactly.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaFederationIssuer.BuilderA builder for BetaFederationIssuer.
public final classBetaFederationIssuer.JwksHow signing keys are obtained for signature verification.
-
Method Summary
Modifier and Type Method Description final Stringid()Tagged ID of the federation issuer. final Optional<OffsetDateTime>archivedAt()If set, all rules referencing this issuer reject token exchange. final Optional<String>archivedByActorId()Tagged ID ( user_/svac_) of the actor that archived this issuer.final BooleancheckJti()Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. final OffsetDateTimecreatedAt()When this issuer was created. final Optional<String>createdByActorId()Tagged ID ( user_/svac_) of the actor that created this issuer.final StringissuerUrl()The issclaim value.final BetaFederationIssuer.Jwksjwks()How signing keys are obtained for signature verification. final Optional<OffsetDateTime>jwksPollingDisabledAt()If set, Anthropic's JWKS poller has paused polling for this issuer after repeated fetch failures. final LongmaxJwtLifetimeSeconds()Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds, i.e. final Stringname()Admin-chosen slug identifier. final Optional<BetaFederationIssuerPollStatus>pollStatus()Live state of Anthropic's JWKS polling for this issuer. final OffsetDateTimeupdatedAt()When this issuer was last updated. final Optional<String>updatedByActorId()Tagged ID ( user_/svac_) of the actor that last updated this issuer.final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("federation_issuer")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_archivedAt()Returns the raw JSON value of archivedAt. final JsonField<String>_archivedByActorId()Returns the raw JSON value of archivedByActorId. final JsonField<Boolean>_checkJti()Returns the raw JSON value of checkJti. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_createdByActorId()Returns the raw JSON value of createdByActorId. final JsonField<String>_issuerUrl()Returns the raw JSON value of issuerUrl. final JsonField<BetaFederationIssuer.Jwks>_jwks()Returns the raw JSON value of jwks. final JsonField<OffsetDateTime>_jwksPollingDisabledAt()Returns the raw JSON value of jwksPollingDisabledAt. final JsonField<Long>_maxJwtLifetimeSeconds()Returns the raw JSON value of maxJwtLifetimeSeconds. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<BetaFederationIssuerPollStatus>_pollStatus()Returns the raw JSON value of pollStatus. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<String>_updatedByActorId()Returns the raw JSON value of updatedByActorId. final Map<String, JsonValue>_additionalProperties()final BetaFederationIssuer.BuildertoBuilder()final BetaFederationIssuervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaFederationIssuer.Builderbuilder()Returns a mutable builder for constructing an instance of BetaFederationIssuer. -
-
Method Detail
-
archivedAt
final Optional<OffsetDateTime> archivedAt()
If set, all rules referencing this issuer reject token exchange.
-
archivedByActorId
final Optional<String> archivedByActorId()
Tagged ID (
user_/svac_) of the actor that archived this issuer.
-
checkJti
final Boolean checkJti()
Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Applies only to assertions carrying a
jticlaim; tokens without one are accepted without single-use enforcement.
-
createdAt
final OffsetDateTime createdAt()
When this issuer was created.
-
createdByActorId
final Optional<String> createdByActorId()
Tagged ID (
user_/svac_) of the actor that created this issuer.
-
jwks
final BetaFederationIssuer.Jwks jwks()
How signing keys are obtained for signature verification.
-
jwksPollingDisabledAt
final Optional<OffsetDateTime> jwksPollingDisabledAt()
If set, Anthropic's JWKS poller has paused polling for this issuer after repeated fetch failures. Re-enable by sending
jwks_polling_disabled: falsevia 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 thanworkspace:developerorworkspace:inference; use a Console session.
-
maxJwtLifetimeSeconds
final Long maxJwtLifetimeSeconds()
Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds, i.e. up to 49h). Assertions must carry both
iatandexp; a missingiatis rejected.
-
pollStatus
final Optional<BetaFederationIssuerPollStatus> pollStatus()
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.
-
updatedAt
final OffsetDateTime updatedAt()
When this issuer was last updated.
-
updatedByActorId
final Optional<String> updatedByActorId()
Tagged ID (
user_/svac_) of the actor that last updated this issuer.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("federation_issuer")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_archivedAt
final JsonField<OffsetDateTime> _archivedAt()
Returns the raw JSON value of archivedAt.
Unlike archivedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_archivedByActorId
final JsonField<String> _archivedByActorId()
Returns the raw JSON value of archivedByActorId.
Unlike archivedByActorId, this method doesn't throw if the JSON field has an unexpected type.
-
_checkJti
final JsonField<Boolean> _checkJti()
Returns the raw JSON value of checkJti.
Unlike checkJti, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_createdByActorId
final JsonField<String> _createdByActorId()
Returns the raw JSON value of createdByActorId.
Unlike createdByActorId, this method doesn't throw if the JSON field has an unexpected type.
-
_issuerUrl
final JsonField<String> _issuerUrl()
Returns the raw JSON value of issuerUrl.
Unlike issuerUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_jwks
final JsonField<BetaFederationIssuer.Jwks> _jwks()
Returns the raw JSON value of jwks.
Unlike jwks, this method doesn't throw if the JSON field has an unexpected type.
-
_jwksPollingDisabledAt
final JsonField<OffsetDateTime> _jwksPollingDisabledAt()
Returns the raw JSON value of jwksPollingDisabledAt.
Unlike jwksPollingDisabledAt, this method doesn't throw if the JSON field has an unexpected type.
-
_maxJwtLifetimeSeconds
final JsonField<Long> _maxJwtLifetimeSeconds()
Returns the raw JSON value of maxJwtLifetimeSeconds.
Unlike maxJwtLifetimeSeconds, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_pollStatus
final JsonField<BetaFederationIssuerPollStatus> _pollStatus()
Returns the raw JSON value of pollStatus.
Unlike pollStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedByActorId
final JsonField<String> _updatedByActorId()
Returns the raw JSON value of updatedByActorId.
Unlike updatedByActorId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaFederationIssuer.Builder toBuilder()
-
validate
final BetaFederationIssuer validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaFederationIssuer.Builder builder()
Returns a mutable builder for constructing an instance of BetaFederationIssuer.
The following fields are required:
.id() .archivedAt() .archivedByActorId() .checkJti() .createdAt() .createdByActorId() .issuerUrl() .jwks() .jwksPollingDisabledAt() .maxJwtLifetimeSeconds() .name() .pollStatus() .updatedAt() .updatedByActorId()
-
-
-
-