Package com.symphony.api.model
Class AppAuthenticationKey
- java.lang.Object
-
- com.symphony.api.model.AppAuthenticationKey
-
public class AppAuthenticationKey extends Object
App RSA key information.
-
-
Constructor Summary
Constructors Constructor Description AppAuthenticationKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppAuthenticationKey
action(String action)
AppAuthenticationKey
expirationDate(Long expirationDate)
String
getAction()
Action to be performed on the RSA key.Long
getExpirationDate()
RSA key expiration date.String
getKey()
Application RSA public key.AppAuthenticationKey
key(String key)
void
setAction(String action)
void
setExpirationDate(Long expirationDate)
void
setKey(String key)
String
toString()
-
-
-
Method Detail
-
getKey
public String getKey()
Application RSA public key.- Returns:
- key
-
setKey
public void setKey(String key)
-
key
public AppAuthenticationKey key(String key)
-
getExpirationDate
public Long getExpirationDate()
RSA key expiration date. This value is set just for rotated keys.- Returns:
- expirationDate
-
setExpirationDate
public void setExpirationDate(Long expirationDate)
-
expirationDate
public AppAuthenticationKey expirationDate(Long expirationDate)
-
getAction
public String getAction()
Action to be performed on the RSA key. The following actions can be performed onto the app's active RSA key: - SAVE - REVOKE The following actions can be performed onto the app's rotated RSA key: - REVOKE - EXTEND- Returns:
- action
-
setAction
public void setAction(String action)
-
action
public AppAuthenticationKey action(String action)
-
-