| 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()  | 
APIKey | 
store(java.lang.String key,
     java.lang.String displayName)
Creates an  
APIKey for the given core session using the provided key
 as SID. | 
public APIKeysService(javax.sql.DataSource pool,
                      SecurityContext context)
public APIKey store(java.lang.String key, java.lang.String displayName) throws ServerFault
IAPIKeysAPIKey for the given core session using the provided key
 as SID. The key will be usable as a valid password to impersonate the user.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 © 2023. All Rights Reserved.