Interface SwaggerCompanySSOResource


@Path("/companies") @Produces("application/vnd.ilandcloud.api.v1.0+json") public interface SwaggerCompanySSOResource
  • Method Details

    • createSAMLIdentityProviderFromUrl

      @POST @Path("/{companyId}/actions/create-saml-idp-url") @Consumes("application/json") SAMLIdentityProviderResponse createSAMLIdentityProviderFromUrl(@PathParam("companyId") String companyId, SAMLIdentityProviderUrlCreationRequest request)
      Create a SAML identity provider from a URL.
      Parameters:
      companyId - company id
      request - url to import identity provider configuration from
      Returns:
      SAML identity provider response
    • createOIDCIdentityProviderFromURL

      @POST @Path("/{companyId}/actions/create-oidc-idp-url") @Consumes("application/json") OIDCIdentityProviderResponse createOIDCIdentityProviderFromURL(@PathParam("companyId") String companyId, OIDCIdentityProviderURLCreationRequest request)
      Create a OIDC identity provider from a URL.
      Parameters:
      companyId - company id
      request - url to import identity provider configuration from
      Returns:
      OIDC identity provider response
    • createSAMLIdentityProviderFromFile

      @POST @Path("/{companyId}/actions/create-saml-idp-from-file") @Consumes("application/xml") SAMLIdentityProviderResponse createSAMLIdentityProviderFromFile(@PathParam("companyId") String companyId, byte[] config)
      Create SAML identity provider from file.
      Parameters:
      companyId - company id
      config - file of identity provider config
      Returns:
      SAML identity provider response
    • createSamlIdentityProvider

      @POST @Path("/{companyId}/actions/create-saml-idp") @Consumes("application/json") SAMLIdentityProviderResponse createSamlIdentityProvider(@PathParam("companyId") String companyId, SAMLIdentityProviderConfigRequest configCreateRequest)
      Create SAML identity provider from config.
      Parameters:
      companyId - company id
      configCreateRequest - saml config
      Returns:
      SAML identity provider response
    • createOIDCIdentityProvider

      @POST @Path("/{companyId}/actions/create-oidc-idp") @Consumes("application/json") OIDCIdentityProviderResponse createOIDCIdentityProvider(@PathParam("companyId") String companyId, OIDCIdentityProviderConfigRequest configCreateRequest)
      Create OIDC identity provider from config.
      Parameters:
      companyId - company id
      configCreateRequest - oidc config
      Returns:
      OIDC identity provider response
    • createGoogleIdentityProvider

      @POST @Path("/{companyId}/actions/create-google-idp") @Consumes("application/json") OIDCIdentityProviderResponse createGoogleIdentityProvider(@PathParam("companyId") String companyId, GoogleIdentityProviderConfigRequest configCreateRequest)
      Create Google identity provider from config.
      Parameters:
      companyId - company id
      configCreateRequest - google config
      Returns:
      Google identity provider response
    • createOktaIdentityProvider

      @POST @Path("/{companyId}/actions/create-okta-idp") @Consumes("application/json") SAMLIdentityProviderResponse createOktaIdentityProvider(@PathParam("companyId") String companyId, OktaIdentityProviderCreateRequest configCreateRequest)
      Create Okta identity provider from config.
      Parameters:
      companyId - company id
      configCreateRequest - okta config
      Returns:
      Okta identity provider response
    • updateGoogleIdentityProvider

      @PUT @Path("/{companyId}/actions/update-google-idp") @Consumes("application/json") OIDCIdentityProviderResponse updateGoogleIdentityProvider(@PathParam("companyId") String companyId, GoogleIdentityProviderConfigRequest configCreateRequest)
      Update Google identity provider from config.
      Parameters:
      companyId - company id
      configCreateRequest - google config
    • updateOktaIdentityProvider

      @PUT @Path("/{companyId}/actions/update-okta-idp") @Consumes("application/json") SAMLIdentityProviderResponse updateOktaIdentityProvider(@PathParam("companyId") String companyId, OktaIdentityProviderCreateRequest configRequest)
      Update Okta identity provider from config.
      Parameters:
      companyId - company id
      configRequest - okta config
    • getIdentityProviderRedirectUri

      @GET @Path("/{companyId}/idp-redirect-uri") @Consumes("application/json") IdentityProviderRedirectUriResponse getIdentityProviderRedirectUri(@PathParam("companyId") String companyId, @QueryParam("isOkta") boolean isOkta)
      Get the IDP redirect URI for the given company.
      Parameters:
      companyId - company id
      Returns:
      identity provider redirect uri response
    • getIdentityProvider

      @GET @Path("/{companyId}/idp") IdentityProviderResponse getIdentityProvider(@PathParam("companyId") String companyId)
      Get the identity provider for the given company.
      Parameters:
      companyId - company id
      Returns:
      the identity provider
    • updateSamlIdentityProvider

      @PUT @Path("/{companyId}/actions/update-saml-provider") @Consumes("application/json") SAMLIdentityProviderResponse updateSamlIdentityProvider(@PathParam("companyId") String companyId, SAMLIdentityProviderConfigRequest samlIdentityProviderConfigRequest)
      Update the SAML identity provider.
      Parameters:
      companyId - company id
      samlIdentityProviderConfigRequest - saml identity provider config request
    • updateOIDCIdentityProvider

      @PUT @Path("/{companyId}/actions/update-oidc-provider") @Consumes("application/json") OIDCIdentityProviderResponse updateOIDCIdentityProvider(@PathParam("companyId") String companyId, OIDCIdentityProviderConfigRequest oidcIdentityProviderConfigRequest)
      Update the OIDC identity provider.
      Parameters:
      companyId - company id
      oidcIdentityProviderConfigRequest - oidc identity provider config request
    • deleteIdentityProvider

      @DELETE @Path("/{companyId}/idp") void deleteIdentityProvider(@PathParam("companyId") String companyId)
      Delete the specified identity provider.
      Parameters:
      companyId - company id
    • getIdentityProviderAccountLinkErrors

      @GET @Path("/{companyId}/idp-account-link-errors") IdpAccountLinkErrorResponseSet getIdentityProviderAccountLinkErrors(@PathParam("companyId") String companyId)
      Get account linking errors for a given company's identity provider.
      Parameters:
      companyId - company id
      Returns:
      a list of identity provider account link errors