Interface OIDCC4UIProviderService

All Superinterfaces:
org.apache.syncope.common.rest.api.service.JAXRSService

@Path("oidcc4ui/providers") public interface OIDCC4UIProviderService extends org.apache.syncope.common.rest.api.service.JAXRSService
REST operations for OpenID Connect Providers.
  • Field Summary

    Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService

    CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
    create(org.apache.syncope.common.lib.to.OIDCC4UIProviderTO oidcProviderTO)
    Creates a new OIDC Provider.
    jakarta.ws.rs.core.Response
    createFromDiscovery(org.apache.syncope.common.lib.to.OIDCC4UIProviderTO oidcProviderTO)
    Creates a new OIDC Provider by using its Discovery Document.
    void
    Deletes the OIDC Provider with matching key.
    List<org.apache.syncope.common.lib.to.OIDCC4UIProviderTO>
    Returns a list of all defined OIDC Providers.
    org.apache.syncope.common.lib.to.OIDCC4UIProviderTO
    read(String key)
    Returns the OIDC Provider with matching key, if available.
    void
    update(@NotNull org.apache.syncope.common.lib.to.OIDCC4UIProviderTO oidcProviderTO)
    Updates the OIDC Provider with matching key.
  • Method Details

    • list

      @GET @Produces({"application/json","application/yaml","application/xml"}) List<org.apache.syncope.common.lib.to.OIDCC4UIProviderTO> list()
      Returns a list of all defined OIDC Providers.
      Returns:
      list of all defined OIDC Providers
    • read

      @GET @Path("{key}") @Produces({"application/json","application/yaml","application/xml"}) org.apache.syncope.common.lib.to.OIDCC4UIProviderTO read(@PathParam("key") String key)
      Returns the OIDC Provider with matching key, if available.
      Parameters:
      key - OIDC Provider's key
      Returns:
      OIDC Providers with matching key, if available
    • create

      @POST @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) jakarta.ws.rs.core.Response create(org.apache.syncope.common.lib.to.OIDCC4UIProviderTO oidcProviderTO)
      Creates a new OIDC Provider.
      Parameters:
      oidcProviderTO - OpenID Connect Provider configuration to be stored
      Returns:
      Response object featuring Location header of created OIDC Provider
    • createFromDiscovery

      @POST @Path("fromDiscovery") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) jakarta.ws.rs.core.Response createFromDiscovery(org.apache.syncope.common.lib.to.OIDCC4UIProviderTO oidcProviderTO)
      Creates a new OIDC Provider by using its Discovery Document.
      Parameters:
      oidcProviderTO - OpenID Connect Provider configuration to be stored
      Returns:
      Response object featuring Location header of created OIDC Provider
    • update

      @PUT @Path("{key}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void update(@NotNull @NotNull org.apache.syncope.common.lib.to.OIDCC4UIProviderTO oidcProviderTO)
      Updates the OIDC Provider with matching key.
      Parameters:
      oidcProviderTO - OpenID Connect Provider configuration to be stored
    • delete

      @DELETE @Path("{key}") @Produces({"application/json","application/yaml","application/xml"}) void delete(@PathParam("key") String key)
      Deletes the OIDC Provider with matching key.
      Parameters:
      key - OIDC Provider key