Interface IAPIKeys

All Known Subinterfaces:
IInternalAPIKeys

@Path("/auth/keys") public interface IAPIKeys
  • Method Details

    • create

      @PUT APIKey create(@QueryParam("displayName") String displayName) throws net.bluemind.core.api.fault.ServerFault
      Creates an APIKey for the given core session. This will be usable as a valid password to impersonate the user.
      Parameters:
      displayName - the name of the APIKey
      Returns:
      an APIKey to impersonate the user
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • put

      @PUT @Path("_put") String put(@QueryParam("displayName") String displayName, String sid) throws net.bluemind.core.api.fault.ServerFault
      Put an APIKey SID for the given core session. This will be usable as a valid password to impersonate the user.
      Parameters:
      displayName - the name of the APIKey
      sid - the SID of the APIKey
      Returns:
      UID of APIKey
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • delete

      @DELETE @Path("{uid}") void delete(@PathParam("uid") String uid) throws net.bluemind.core.api.fault.ServerFault
      Deletes an APIKey
      Parameters:
      uid - the APIKey uid
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • list

      @GET List<APIKey> list() throws net.bluemind.core.api.fault.ServerFault
      Returns:
      a List of APIKey
      Throws:
      net.bluemind.core.api.fault.ServerFault