Package net.bluemind.authentication.api
Interface IAPIKeys
@Path("/auth/keys")
public interface IAPIKeys
-
Method Details
-
create
Creates anAPIKey
for the given core session. This will be usable as a valid password to impersonate the user.- Parameters:
displayName
- the name of theAPIKey
- Returns:
- an
APIKey
to impersonate the user - Throws:
ServerFault
-
store
@PUT @Path("{key}") APIKey store(@PathParam("key") String key, @QueryParam("displayName") String displayName) throws ServerFault Creates anAPIKey
for 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 theAPIKey
displayName
- the name of theAPIKey
- Returns:
- an
APIKey
to 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
-