Class FederationIssuer

  • All Implemented Interfaces:

    
    public final class FederationIssuer
    
                        

    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.

    • Constructor Detail

    • Method Detail

      • id

         final String id()

        Tagged ID of the federation 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 jti claim; tokens without one are accepted without single-use enforcement.

      • issuerUrl

         final String issuerUrl()

        The iss claim value. Incoming JWTs must match exactly.

      • 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: 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.

      • 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 iat and exp; a missing iat is rejected.

      • name

         final String name()

        Admin-chosen slug identifier.

      • pollStatus

         final Optional<FederationIssuerPollStatus> 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.

      • _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.

      • _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.

      • _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.

      • validate

         final FederationIssuer 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 FederationIssuer.Builder builder()

        Returns a mutable builder for constructing an instance of FederationIssuer.

        The following fields are required:

        .id()
        .archivedAt()
        .archivedByActorId()
        .checkJti()
        .createdAt()
        .createdByActorId()
        .issuerUrl()
        .jwks()
        .jwksPollingDisabledAt()
        .maxJwtLifetimeSeconds()
        .name()
        .pollStatus()
        .updatedAt()
        .updatedByActorId()