| Constructor and Description |
|---|
APIKeysService(javax.sql.DataSource pool,
SecurityContext context) |
| Modifier and Type | Method and Description |
|---|---|
APIKey |
create(java.lang.String displayName)
Creates an
APIKey for the given core session. |
void |
delete(java.lang.String sid)
Deletes an
APIKey |
APIKey |
get(java.lang.String sid) |
java.util.List<APIKey> |
list() |
public APIKeysService(javax.sql.DataSource pool,
SecurityContext context)
public APIKey create(java.lang.String displayName) throws ServerFault
IAPIKeysAPIKey for the given core session. This will be usable as
a valid password to impersonate the user.create in interface IAPIKeysdisplayName - the name of the APIKeyAPIKey to impersonate the userServerFaultpublic void delete(java.lang.String sid)
throws ServerFault
IAPIKeysAPIKeydelete in interface IAPIKeyssid - the APIKey.sidServerFaultpublic java.util.List<APIKey> list() throws ServerFault
list in interface IAPIKeysAPIKeyServerFaultpublic APIKey get(java.lang.String sid) throws ServerFault
get in interface IAPIKeysServerFaultCopyright © 2021. All Rights Reserved.