Class IssuerUpdateParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class IssuerUpdateParams implements Params
Requires an OAuth access token with the
org:adminscope, fromant auth login --scope org:adminor a workload identity federation rule; Admin API keys are not accepted. See /docs/en/manage-claude/wif-admin-api.Partially update a federation issuer.
Setting
jwksreplaces the full JWKS shape at once. Archived issuers cannot be updated; this returns 400. Create a new issuer instead.Updating an issuer that backs a rule with a scope outside
workspace:developerorworkspace:inferencerequires a Console session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classIssuerUpdateParams.BuilderA builder for IssuerUpdateParams.
public final classIssuerUpdateParams.BodyPartial update. Set fields are applied; omitted fields are unchanged.
Setting
jwksreplaces the whole JWKS configuration at once.public final classIssuerUpdateParams.JwksReplaces the entire JWKS configuration.
-
Method Summary
Modifier and Type Method Description final Optional<String>federationIssuerId()ID of the federation issuer to update. final Optional<List<AnthropicBeta>>betas()Optional header to specify the beta version(s) you want to use. final Optional<Boolean>checkJti()Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. final Optional<String>issuerUrl()Replaces the issclaim value to match against.final Optional<IssuerUpdateParams.Jwks>jwks()Replaces the entire JWKS configuration. final Optional<Boolean>jwksPollingDisabled()Only falseis accepted, to re-enable polling after the system pauses it.final Optional<Long>maxJwtLifetimeSeconds()Maximum allowed iat→exp spread for assertions from this issuer (1-176400 seconds, i.e. final Optional<String>name()Replaces the slug identifier (lowercase, digits, hyphens). final JsonField<Boolean>_checkJti()Returns the raw JSON value of checkJti. final JsonField<String>_issuerUrl()Returns the raw JSON value of issuerUrl. final JsonField<IssuerUpdateParams.Jwks>_jwks()Returns the raw JSON value of jwks. final JsonField<Boolean>_jwksPollingDisabled()Returns the raw JSON value of jwksPollingDisabled. final JsonField<Long>_maxJwtLifetimeSeconds()Returns the raw JSON value of maxJwtLifetimeSeconds. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final IssuerUpdateParams.BuildertoBuilder()final IssuerUpdateParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. SpanData_spanData()The data for the OpenTelemetry span of a call to the method with these parameters. Booleanequals(Object other)IntegerhashCode()StringtoString()final static IssuerUpdateParamsnone()final static IssuerUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of IssuerUpdateParams. -
-
Method Detail
-
federationIssuerId
final Optional<String> federationIssuerId()
ID of the federation issuer to update.
-
betas
final Optional<List<AnthropicBeta>> betas()
Optional header to specify the beta version(s) you want to use.
-
checkJti
final Optional<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.
-
issuerUrl
final Optional<String> issuerUrl()
Replaces the
issclaim value to match against. For discovery-mode issuers without adiscovery_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.
-
jwks
final Optional<IssuerUpdateParams.Jwks> jwks()
Replaces the entire JWKS configuration.
-
jwksPollingDisabled
final Optional<Boolean> jwksPollingDisabled()
Only
falseis accepted, to re-enable polling after the system pauses it. Polling is paused automatically; sendingtrueis rejected.
-
maxJwtLifetimeSeconds
final Optional<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.
-
name
final Optional<String> name()
Replaces the slug identifier (lowercase, digits, hyphens). Unique within the organization; a duplicate name returns 409.
-
_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.
-
_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<IssuerUpdateParams.Jwks> _jwks()
Returns the raw JSON value of jwks.
Unlike jwks, this method doesn't throw if the JSON field has an unexpected type.
-
_jwksPollingDisabled
final JsonField<Boolean> _jwksPollingDisabled()
Returns the raw JSON value of jwksPollingDisabled.
Unlike jwksPollingDisabled, 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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final IssuerUpdateParams.Builder toBuilder()
-
_body
final IssuerUpdateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
_spanData
SpanData _spanData()
The data for the OpenTelemetry span of a call to the method with these parameters.
-
none
final static IssuerUpdateParams none()
-
builder
final static IssuerUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of IssuerUpdateParams.
-
-
-
-