Interface CrowdRememberMeToken

All Known Implementing Classes:
InternalCrowdRememberMeToken

public interface CrowdRememberMeToken
  • Method Details

    • getId

      Long getId()
      Returns:
      the id of this auth token.
    • getToken

      @Nonnull String getToken()
      Returns:
      a base64 encoded random string.
    • getSeries

      @Nonnull String getSeries()
      Returns:
      a random string denoting the series of tokens for a user
    • getUsername

      @Nonnull String getUsername()
      Returns:
      The user name associated with this token
    • getCreatedTime

      @Nonnull LocalDateTime getCreatedTime()
      Returns:
      the time at which this token will expire
    • getUsedTime

      LocalDateTime getUsedTime()
      Returns:
      the time at which this token will expire
    • getDirectoryId

      @Nonnull Long getDirectoryId()
      Returns:
      directory id associated with the token
    • getRemoteAddress

      @Nullable String getRemoteAddress()
      Returns:
      remote address if available