Interface IssuerServiceAsync
-
- All Implemented Interfaces:
public interface IssuerServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceIssuerServiceAsync.WithRawResponseA view of IssuerServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract IssuerServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract IssuerServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<BetaFederationIssuer>create(IssuerCreateParams 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.abstract CompletableFuture<BetaFederationIssuer>create(IssuerCreateParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>retrieve(String federationIssuerId)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.CompletableFuture<BetaFederationIssuer>retrieve(String federationIssuerId, IssuerRetrieveParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>retrieve(String federationIssuerId, IssuerRetrieveParams params)abstract CompletableFuture<BetaFederationIssuer>retrieve(IssuerRetrieveParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>retrieve(IssuerRetrieveParams params)CompletableFuture<BetaFederationIssuer>retrieve(String federationIssuerId, RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>update(String federationIssuerId)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.CompletableFuture<BetaFederationIssuer>update(String federationIssuerId, IssuerUpdateParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>update(String federationIssuerId, IssuerUpdateParams params)abstract CompletableFuture<BetaFederationIssuer>update(IssuerUpdateParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>update(IssuerUpdateParams params)CompletableFuture<BetaFederationIssuer>update(String federationIssuerId, RequestOptions requestOptions)CompletableFuture<IssuerListPageAsync>list()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.abstract CompletableFuture<IssuerListPageAsync>list(IssuerListParams params, RequestOptions requestOptions)CompletableFuture<IssuerListPageAsync>list(IssuerListParams params)CompletableFuture<IssuerListPageAsync>list(RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>archive(String federationIssuerId)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.CompletableFuture<BetaFederationIssuer>archive(String federationIssuerId, IssuerArchiveParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>archive(String federationIssuerId, IssuerArchiveParams params)abstract CompletableFuture<BetaFederationIssuer>archive(IssuerArchiveParams params, RequestOptions requestOptions)CompletableFuture<BetaFederationIssuer>archive(IssuerArchiveParams params)CompletableFuture<BetaFederationIssuer>archive(String federationIssuerId, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract IssuerServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract IssuerServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<BetaFederationIssuer> create(IssuerCreateParams 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.Register an OIDC issuer that Anthropic will trust for workload identity federation in your organization.
The
jwksfield controls how the issuer's signing keys are obtained and takes one of three shapes selected bytype:discovery(resolve keys through OIDC discovery),explicit_url(fetch keys from a fixed JWKS URL), orinline(provide a static key set). Whenjwks.typeisdiscoveryand nodiscovery_baseis set, the issuer URL must be publicly reachable over HTTPS so Anthropic can fetch the discovery document; forexplicit_urlandinlinemodes the issuer URL is only matched as the JWT'sissclaim and is not fetched.
-
create
abstract CompletableFuture<BetaFederationIssuer> create(IssuerCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaFederationIssuer> retrieve(String federationIssuerId)
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.Retrieve a federation issuer by its ID (
fdis_...).
-
retrieve
CompletableFuture<BetaFederationIssuer> retrieve(String federationIssuerId, IssuerRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaFederationIssuer> retrieve(String federationIssuerId, IssuerRetrieveParams params)
-
retrieve
abstract CompletableFuture<BetaFederationIssuer> retrieve(IssuerRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<BetaFederationIssuer> retrieve(IssuerRetrieveParams params)
-
retrieve
CompletableFuture<BetaFederationIssuer> retrieve(String federationIssuerId, RequestOptions requestOptions)
-
update
CompletableFuture<BetaFederationIssuer> update(String federationIssuerId)
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.
-
update
CompletableFuture<BetaFederationIssuer> update(String federationIssuerId, IssuerUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<BetaFederationIssuer> update(String federationIssuerId, IssuerUpdateParams params)
-
update
abstract CompletableFuture<BetaFederationIssuer> update(IssuerUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<BetaFederationIssuer> update(IssuerUpdateParams params)
-
update
CompletableFuture<BetaFederationIssuer> update(String federationIssuerId, RequestOptions requestOptions)
-
list
CompletableFuture<IssuerListPageAsync> list()
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.List federation issuers in your organization.
Archived issuers are excluded unless
include_archived=true.
-
list
abstract CompletableFuture<IssuerListPageAsync> list(IssuerListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<IssuerListPageAsync> list(IssuerListParams params)
-
list
CompletableFuture<IssuerListPageAsync> list(RequestOptions requestOptions)
-
archive
CompletableFuture<BetaFederationIssuer> archive(String federationIssuerId)
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.Archive a federation issuer.
Idempotent; re-archiving returns the issuer with its original
archived_at. Rejected with 400 if any live (non-archived) federation rule still references the issuer; archive those rules first (a rule's issuer cannot be changed), or recreate them against another issuer.
-
archive
CompletableFuture<BetaFederationIssuer> archive(String federationIssuerId, IssuerArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaFederationIssuer> archive(String federationIssuerId, IssuerArchiveParams params)
-
archive
abstract CompletableFuture<BetaFederationIssuer> archive(IssuerArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<BetaFederationIssuer> archive(IssuerArchiveParams params)
-
archive
CompletableFuture<BetaFederationIssuer> archive(String federationIssuerId, RequestOptions requestOptions)
-
-
-
-