Interface SwaggerCompanySSOResource
@Path("/companies")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface SwaggerCompanySSOResource
-
Method Summary
Modifier and TypeMethodDescriptioncreateGoogleIdentityProvider(String companyId, GoogleIdentityProviderConfigRequest configCreateRequest) Create Google identity provider from config.createOIDCIdentityProvider(String companyId, OIDCIdentityProviderConfigRequest configCreateRequest) Create OIDC identity provider from config.createOIDCIdentityProviderFromURL(String companyId, OIDCIdentityProviderURLCreationRequest request) Create a OIDC identity provider from a URL.createOktaIdentityProvider(String companyId, OktaIdentityProviderCreateRequest configCreateRequest) Create Okta identity provider from config.createSamlIdentityProvider(String companyId, SAMLIdentityProviderConfigRequest configCreateRequest) Create SAML identity provider from config.createSAMLIdentityProviderFromFile(String companyId, byte[] config) Create SAML identity provider from file.createSAMLIdentityProviderFromUrl(String companyId, SAMLIdentityProviderUrlCreationRequest request) Create a SAML identity provider from a URL.voiddeleteIdentityProvider(String companyId) Delete the specified identity provider.getIdentityProvider(String companyId) Get the identity provider for the given company.getIdentityProviderAccountLinkErrors(String companyId) Get account linking errors for a given company's identity provider.getIdentityProviderRedirectUri(String companyId, boolean isOkta) Get the IDP redirect URI for the given company.updateGoogleIdentityProvider(String companyId, GoogleIdentityProviderConfigRequest configCreateRequest) Update Google identity provider from config.updateOIDCIdentityProvider(String companyId, OIDCIdentityProviderConfigRequest oidcIdentityProviderConfigRequest) Update the OIDC identity provider.updateOktaIdentityProvider(String companyId, OktaIdentityProviderCreateRequest configRequest) Update Okta identity provider from config.updateSamlIdentityProvider(String companyId, SAMLIdentityProviderConfigRequest samlIdentityProviderConfigRequest) Update the SAML identity provider.
-
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 idrequest- 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 idrequest- 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 idconfig- 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 idconfigCreateRequest- 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 idconfigCreateRequest- 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 idconfigCreateRequest- 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 idconfigCreateRequest- 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 idconfigCreateRequest- 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 idconfigRequest- 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 idsamlIdentityProviderConfigRequest- 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 idoidcIdentityProviderConfigRequest- 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
-