1   package com.atlassian.seraph.service.rememberme;
2   
3   /**
4    * This interface describes the information about a remember me token
5    */
6   public interface RememberMeToken
7   {
8       /**
9        * @return the id of this auth token.  Can be null during initial generation
10       */
11      Long getId();
12  
13      /**
14       * @return a base64 encoded random string.  MUST NEVER be null!!
15       */
16      String getRandomString();
17  
18      /**
19       * @return The user name associated with this token
20       */
21      String getUserName();
22  
23      /**
24       * @return the time at which this token was created
25       */
26      long getCreatedTime();
27  }