Package io.continual.iam.impl.common
Class CommonJsonApiKey
java.lang.Object
io.continual.iam.impl.common.CommonJsonApiKey
- All Implemented Interfaces:
ApiKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the creation timestampgetKey()Get the API key part.Get the API key's secret part.Get the user associated with this key.static org.json.JSONObjectinitialize(String secret, String userId)
-
Constructor Details
-
CommonJsonApiKey
-
-
Method Details
-
initialize
-
getKey
Description copied from interface:ApiKeyGet the API key part. -
getSecret
Description copied from interface:ApiKeyGet the API key's secret part. -
getUserId
Description copied from interface:ApiKeyGet the user associated with this key. -
getCreationTimestamp
public long getCreationTimestamp()Description copied from interface:ApiKeyGet the creation timestamp- Specified by:
getCreationTimestampin interfaceApiKey- Returns:
- the API creation timestamp
-