Interface STSOidcProviders
- All Known Implementing Classes:
STSOidcProvidersImpl
public interface STSOidcProviders
Client interface for managing trusted OIDC providers within a root project
(
/v1/projects/{projectId}/oidcProviders).
Supports paging the providers of a project (pageOidcProviders), registering a new
provider (createOidcProvider), modifying (patchOidcProvider) and permanently
removing (deleteOidcProvider) one, and the reversible suspend/resume lifecycle
(suspendOidcProvider / resumeOidcProvider).
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String projectId, CreateOidcProviderRequest request) Registers a new OIDC provider in a project.Permanently removes the trust relationship for an OIDC provider.Pages through the OIDC providers of a project (first page, excluding suspended).Pages through the OIDC providers of a project, controlling inclusion of suspended providers and pagination.Restores (resumes) a previously suspended OIDC provider.Suspends an OIDC provider (a reversible way to turn off token exchange for its ID tokens).update(String projectId, String idpId, PatchOidcProviderRequest request) Modifies specific properties of an existing OIDC provider.
-
Method Details
-
list
Pages through the OIDC providers of a project (first page, excluding suspended).- Parameters:
projectId- the project identifier- Returns:
- the first page of OIDC providers
-
list
OidcProviderPage list(String projectId, Boolean includeSuspended, String pageToken, Integer pageSize) Pages through the OIDC providers of a project, controlling inclusion of suspended providers and pagination.- Parameters:
projectId- the project identifierincludeSuspended-trueto include suspended providers, ornullfor the defaultpageToken- the opaque page token from a prior response, ornullfor the first pagepageSize- the maximum number of results per page, ornullfor the server default- Returns:
- the requested page of OIDC providers
-
create
Registers a new OIDC provider in a project.- Parameters:
projectId- the project identifierrequest- the provider registration request- Returns:
- the registered OIDC provider
-
update
Modifies specific properties of an existing OIDC provider.- Parameters:
projectId- the project identifieridpId- the identity provider identifierrequest- the patch request (itslastRevguards against concurrent updates)- Returns:
- the updated OIDC provider
-
delete
-
suspend
-
resume
-