Package io.continual.iam.identity
Interface ApiKey
-
- All Known Implementing Classes:
CommonJsonApiKey
public interface ApiKeyAn API key has a key string, a secret string, and an associated user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCreationTimestamp()Get the creation timestampStringgetKey()Get the API key part.StringgetSecret()Get the API key's secret part.StringgetUserId()Get the user associated with this key.
-
-
-
Method Detail
-
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
-
-