Class STSOidcProvidersImpl

java.lang.Object
com.eqixiac.equinix.sts.client.implementation.STSOidcProvidersImpl
All Implemented Interfaces:
STSOidcProviders

public class STSOidcProvidersImpl extends Object implements STSOidcProviders
  • Constructor Details

    • STSOidcProvidersImpl

      public STSOidcProvidersImpl()
  • Method Details

    • list

      public OidcProviderPage list(String projectId)
      Description copied from interface: STSOidcProviders
      Pages through the OIDC providers of a project (first page, excluding suspended).
      Specified by:
      list in interface STSOidcProviders
      Parameters:
      projectId - the project identifier
      Returns:
      the first page of OIDC providers
    • list

      public OidcProviderPage list(String projectId, Boolean includeSuspended, String pageToken, Integer pageSize)
      Description copied from interface: STSOidcProviders
      Pages through the OIDC providers of a project, controlling inclusion of suspended providers and pagination.
      Specified by:
      list in interface STSOidcProviders
      Parameters:
      projectId - the project identifier
      includeSuspended - true to include suspended providers, or null for the default
      pageToken - the opaque page token from a prior response, or null for the first page
      pageSize - the maximum number of results per page, or null for the server default
      Returns:
      the requested page of OIDC providers
    • create

      public OidcProvider create(String projectId, CreateOidcProviderRequest request)
      Description copied from interface: STSOidcProviders
      Registers a new OIDC provider in a project.
      Specified by:
      create in interface STSOidcProviders
      Parameters:
      projectId - the project identifier
      request - the provider registration request
      Returns:
      the registered OIDC provider
    • update

      public OidcProvider update(String projectId, String idpId, PatchOidcProviderRequest request)
      Description copied from interface: STSOidcProviders
      Modifies specific properties of an existing OIDC provider.
      Specified by:
      update in interface STSOidcProviders
      Parameters:
      projectId - the project identifier
      idpId - the identity provider identifier
      request - the patch request (its lastRev guards against concurrent updates)
      Returns:
      the updated OIDC provider
    • delete

      public Boolean delete(String projectId, String idpId)
      Description copied from interface: STSOidcProviders
      Permanently removes the trust relationship for an OIDC provider. This cannot be reversed.
      Specified by:
      delete in interface STSOidcProviders
      Parameters:
      projectId - the project identifier
      idpId - the identity provider identifier
      Returns:
      true if the deletion request was accepted
    • suspend

      public Boolean suspend(String projectId, String idpId)
      Description copied from interface: STSOidcProviders
      Suspends an OIDC provider (a reversible way to turn off token exchange for its ID tokens).
      Specified by:
      suspend in interface STSOidcProviders
      Parameters:
      projectId - the project identifier
      idpId - the identity provider identifier
      Returns:
      true if the suspend request was accepted
    • resume

      public Boolean resume(String projectId, String idpId)
      Description copied from interface: STSOidcProviders
      Restores (resumes) a previously suspended OIDC provider.
      Specified by:
      resume in interface STSOidcProviders
      Parameters:
      projectId - the project identifier
      idpId - the identity provider identifier
      Returns:
      true if the resume request was accepted