Interface ApiKeyManager
- All Known Implementing Classes:
ApiKeyManagerImpl
public interface ApiKeyManager
-
Method Summary
Modifier and TypeMethodDescriptioncreateNewApiKey(Entity principal, String keyName, String usageId, org.joda.time.LocalDate expiryDate) createNewToccoInternalApiKey(Entity principal, String keyName) normallycreateNewApiKey(Entity, String, String, LocalDate)should be used.voidcreateToccoInternalApiKey(Entity principal, String keyName, String key) Same ascreateNewToccoInternalApiKey(Entity, String)but with a predefined key instead of a generated one, for keys that are configured outside of Tocco.
-
Method Details
-
getApiKey
-
createNewApiKey
-
createNewToccoInternalApiKey
normallycreateNewApiKey(Entity, String, String, LocalDate)should be used. with this method an api key without expiry date and usage tocco_internal is created. -
createToccoInternalApiKey
Same ascreateNewToccoInternalApiKey(Entity, String)but with a predefined key instead of a generated one, for keys that are configured outside of Tocco.
-