@Path(value="/companies")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface CompanySSOResource
@POST
@Path(value="/{companyId}/actions/create-saml-idp-url")
@Consumes(value="application/json")
SAMLIdentityProviderResponse createSAMLIdentityProviderFromUrl(@PathParam(value="companyId")
String companyId,
SAMLIdentityProviderUrlCreationRequest request)
companyId - company idrequest - url to import identity provider configuration from@POST
@Path(value="/{companyId}/actions/create-oidc-idp-url")
@Consumes(value="application/json")
OIDCIdentityProviderResponse createOIDCIdentityProviderFromURL(@PathParam(value="companyId")
String companyId,
OIDCIdentityProviderURLCreationRequest request)
companyId - company idrequest - url to import identity provider configuration from@POST
@Path(value="/{companyId}/actions/create-saml-idp-from-file")
@Consumes(value="application/xml")
SAMLIdentityProviderResponse createSAMLIdentityProviderFromFile(@PathParam(value="companyId")
String companyId,
byte[] config)
companyId - company idconfig - file of identity provider config@POST
@Path(value="/{companyId}/actions/create-saml-idp")
@Consumes(value="application/json")
SAMLIdentityProviderResponse createSamlIdentityProvider(@PathParam(value="companyId")
String companyId,
SAMLIdentityProviderConfigRequest configCreateRequest)
companyId - company idconfigCreateRequest - saml config@POST
@Path(value="/{companyId}/actions/create-oidc-idp")
@Consumes(value="application/json")
OIDCIdentityProviderResponse createOIDCIdentityProvider(@PathParam(value="companyId")
String companyId,
OIDCIdentityProviderConfigRequest configCreateRequest)
companyId - company idconfigCreateRequest - oidc config@POST
@Path(value="/{companyId}/actions/create-google-idp")
@Consumes(value="application/json")
OIDCIdentityProviderResponse createGoogleIdentityProvider(@PathParam(value="companyId")
String companyId,
GoogleIdentityProviderConfigRequest configCreateRequest)
companyId - company idconfigCreateRequest - google config@POST
@Path(value="/{companyId}/actions/create-okta-idp")
@Consumes(value="application/json")
SAMLIdentityProviderResponse createOktaIdentityProvider(@PathParam(value="companyId")
String companyId,
OktaIdentityProviderCreateRequest configCreateRequest)
companyId - company idconfigCreateRequest - okta config@PUT
@Path(value="/{companyId}/actions/update-google-idp")
@Consumes(value="application/json")
OIDCIdentityProviderResponse updateGoogleIdentityProvider(@PathParam(value="companyId")
String companyId,
GoogleIdentityProviderConfigRequest configCreateRequest)
companyId - company idconfigCreateRequest - google config@PUT
@Path(value="/{companyId}/actions/update-okta-idp")
@Consumes(value="application/json")
SAMLIdentityProviderResponse updateOktaIdentityProvider(@PathParam(value="companyId")
String companyId,
OktaIdentityProviderCreateRequest configRequest)
companyId - company idconfigRequest - okta config@GET
@Path(value="/{companyId}/idp-redirect-uri")
@Consumes(value="application/json")
IdentityProviderRedirectUriResponse getIdentityProviderRedirectUri(@PathParam(value="companyId")
String companyId,
@QueryParam(value="isOkta")
boolean isOkta)
companyId - company id@GET
@Path(value="/{companyId}/idp")
IdentityProviderResponse getIdentityProvider(@PathParam(value="companyId")
String companyId)
companyId - company id@PUT
@Path(value="/{companyId}/actions/update-saml-provider")
@Consumes(value="application/json")
SAMLIdentityProviderResponse updateSamlIdentityProvider(@PathParam(value="companyId")
String companyId,
SAMLIdentityProviderConfigRequest samlIdentityProviderConfigRequest)
companyId - company idsamlIdentityProviderConfigRequest - saml identity provider config request@PUT
@Path(value="/{companyId}/actions/update-oidc-provider")
@Consumes(value="application/json")
OIDCIdentityProviderResponse updateOIDCIdentityProvider(@PathParam(value="companyId")
String companyId,
OIDCIdentityProviderConfigRequest oidcIdentityProviderConfigRequest)
companyId - company idoidcIdentityProviderConfigRequest - oidc identity provider config request@DELETE
@Path(value="/{companyId}/idp")
void deleteIdentityProvider(@PathParam(value="companyId")
String companyId)
companyId - company id@GET
@Path(value="/{companyId}/idp-account-link-errors")
IdpAccountLinkErrorResponseSet getIdentityProviderAccountLinkErrors(@PathParam(value="companyId")
String companyId)
companyId - company idCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.