Class RefreshToken


  • public class RefreshToken
    extends java.lang.Object
    Refresh token.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      RefreshToken​(java.lang.String token, long expireTime)
      Instantiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getExpireTime()
      Obtains the expire time in seconds.
      java.lang.String getToken()
      Obtains the token.
      • Methods inherited from class java.lang.Object

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

      • RefreshToken

        public RefreshToken​(java.lang.String token,
                            long expireTime)
        Instantiate.
        Parameters:
        token - Token.
        expireTime - Expire time in seconds.
    • Method Detail

      • getToken

        public java.lang.String getToken()
        Obtains the token.
        Returns:
        Token.
      • getExpireTime

        public long getExpireTime()
        Obtains the expire time in seconds.
        Returns:
        Expire time in seconds.