@Path(value="/rest/identitystore/v3") public class ClientRestService extends Object
| Constructor and Description |
|---|
ClientRestService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createClient(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.application.ClientApplicationDto clientDto,
String clientCode,
String authorName,
String authorType,
String strHeaderAppCode)
Creates a service contract.
The service contract is created from the provided ClientApplicationDto. |
javax.ws.rs.core.Response |
getClient(String targetClientCode,
String headerClientCode,
String authorName,
String authorType,
String strHeaderAppCode)
Get Client
|
javax.ws.rs.core.Response |
getClients(String applicationCode,
String clientCode,
String authorName,
String authorType,
String strHeaderAppCode)
Get Clients
|
javax.ws.rs.core.Response |
updateClient(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.application.ClientApplicationDto clientDto,
String clientCode,
String authorName,
String authorType,
String strHeaderAppCode)
Updates a service contract.
The service contract is updated from the provided ClientApplicationDto. |
@Path(value="/clients/{application_code}")
@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response getClients(@PathParam(value="application_code")
String applicationCode,
@HeaderParam(value="client_code")
String clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
applicationCode - application codefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@Path(value="/client/{target_client_code}")
@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response getClient(@PathParam(value="target_client_code")
String targetClientCode,
@HeaderParam(value="client_code")
String headerClientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
targetClientCode - target client codefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@POST
@Path(value="/client")
@Consumes(value="application/json")
public javax.ws.rs.core.Response createClient(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.application.ClientApplicationDto clientDto,
@HeaderParam(value="client_code")
String clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
ClientApplicationDto.clientDto - the service contract to createClientChangeResponsefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException@PUT
@Path(value="/client")
@Consumes(value="application/json")
public javax.ws.rs.core.Response updateClient(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.application.ClientApplicationDto clientDto,
@PathParam(value="client_code")
String clientCode,
@HeaderParam(value="author_name")
String authorName,
@HeaderParam(value="author_type")
String authorType,
@HeaderParam(value="application_code") @DefaultValue(value="")
String strHeaderAppCode)
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
ClientApplicationDto.clientDto - the service contract to updateclientCode - the application code in the HTTP headerClientChangeResponsefr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionCopyright © 2024 City of Paris. All rights reserved.