Package net.bluemind.authentication.api
Interface IAPIKeys
@Path("/auth/keys")
public interface IAPIKeys
- 
Method Details
- 
create
Creates anAPIKeyfor the given core session. This will be usable as a valid password to impersonate the user.- Parameters:
 displayName- the name of theAPIKey- Returns:
 - an 
APIKeyto impersonate the user - Throws:
 ServerFault
 - 
store
@PUT @Path("{key}") APIKey store(@PathParam("key") String key, @QueryParam("displayName") String displayName) throws ServerFault Creates anAPIKeyfor the given core session using the provided key as SID. The key will be usable as a valid password to impersonate the user.- Parameters:
 key- SID the name of theAPIKeydisplayName- the name of theAPIKey- Returns:
 - an 
APIKeyto impersonate the user - Throws:
 ServerFault
 - 
delete
Deletes anAPIKey- Parameters:
 sid- theAPIKey.sid- Throws:
 ServerFault
 - 
list
- Returns:
 - a List of 
APIKey - Throws:
 ServerFault
 - 
get
- Throws:
 ServerFault
 
 -