Class AuthenticationToken

java.lang.Object
org.netxms.client.users.AuthenticationToken

public class AuthenticationToken extends Object
Authentication token information.
  • Constructor Details

    • AuthenticationToken

      public AuthenticationToken(NXCPMessage msg, long baseId)
      Create token information object from NXCP message.
      Parameters:
      msg - NXCP message
      baseId - 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

      public String getDescription()
      Returns:
      the description
    • getValue

      public String 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

      public Date getCreationTime()
      Returns:
      the creationTime
    • getExpirationTime

      public Date getExpirationTime()
      Returns:
      the expirationTime