Package io.continual.iam.identity
Interface ApiKey
- All Known Implementing Classes:
CommonJsonApiKey
public interface ApiKey
An API key has a key string, a secret string, and an associated user.
-
Method Summary
-
Method Details
-
getKey
String getKey()Get the API key part.- Returns:
- a string
-
getSecret
String getSecret()Get the API key's secret part.- Returns:
- a string
-
getUserId
String getUserId()Get the user associated with this key.- Returns:
- the user id
-
getCreationTimestamp
long getCreationTimestamp()Get the creation timestamp- Returns:
- the API creation timestamp
-