Class BasicCredential

java.lang.Object
io.jans.casa.credential.BasicCredential

public class BasicCredential extends Object
A POJO holding basic data of an enrolled credential (authentication device).
Author:
jgomer
  • Constructor Details

    • BasicCredential

      public BasicCredential(String nickName, long addedOn)
      Creates an instances of this class using the values supplied in the parameters.
      Parameters:
      nickName - Nickname of this credential
      addedOn - Timestamp describing the moment (wrt to UNIX epoch) in which the device was enrolled
  • Method Details

    • getNickName

      public String getNickName()
      Gets the nickname of this credential.
      Returns:
      A String
    • getAddedOn

      public long getAddedOn()
      Gets the date this credential was enrolled on (milliseconds since January 1, 1970, 00:00:00 GMT)
      Returns:
      A long value