Class MFAToken


  • public class MFAToken
    extends java.lang.Object
    MFA token.
    Since:
    16.1.0
    Version:
    $Revision$ $Date$
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MFAToken.MFATokenPK  
    • Constructor Summary

      Constructors 
      Constructor Description
      MFAToken​(java.lang.String userLogin, java.lang.String token)
      Creates a new token.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date getCreatedDate()
      Returns the created date.
      java.util.Date getExpiresDate()
      Returns the expires date.
      java.lang.String getToken()
      Returns the token.
      java.lang.String getUserLogin()
      Returns the user login.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MFAToken

        public MFAToken​(java.lang.String userLogin,
                        java.lang.String token)
        Creates a new token.
        Parameters:
        userLogin - the user login
        token - the token
        Since:
        16.1.0
    • Method Detail

      • getUserLogin

        public java.lang.String getUserLogin()
        Returns the user login.
        Returns:
        the user login
        Since:
        16.1.0
      • getCreatedDate

        public java.util.Date getCreatedDate()
        Returns the created date.
        Returns:
        the created date
        Since:
        16.1.0
      • getExpiresDate

        public java.util.Date getExpiresDate()
        Returns the expires date.
        Returns:
        the expires date
        Since:
        16.1.0
      • getToken

        public java.lang.String getToken()
        Returns the token.
        Returns:
        the token.
        Since:
        16.1.0