Package org.netxms.client.users
Class AuthenticationToken
java.lang.Object
org.netxms.client.users.AuthenticationToken
Authentication token information.
-
Constructor Summary
ConstructorDescriptionAuthenticationToken
(NXCPMessage msg, long baseId) Create token information object from NXCP message. -
Method Summary
-
Constructor Details
-
AuthenticationToken
Create token information object from NXCP message.- Parameters:
msg
- NXCP messagebaseId
- base field ID
-
-
Method Details
-
getId
public int getId()- Returns:
- the id
-
getUserId
public int getUserId()- Returns:
- the userId
-
isPersistent
public boolean isPersistent()- Returns:
- the persistent
-
getDescription
- Returns:
- the description
-
getValue
Get token value. Normally it is available only for newly created tokens.- Returns:
- token value (can be null or empty string if unavailable)
-
getCreationTime
- Returns:
- the creationTime
-
getExpirationTime
- Returns:
- the expirationTime
-