Class RefreshToken

java.lang.Object
io.fusionauth.domain.jwt.RefreshToken
All Implemented Interfaces:
Buildable<RefreshToken>

public class RefreshToken extends Object implements Buildable<RefreshToken>
Models a JWT Refresh Token.
Author:
Daniel DeGroff
  • Field Details

    • applicationId

      public UUID applicationId
    • data

      public Map<String,Object> data
    • id

      public UUID id
    • insertInstant

      public ZonedDateTime insertInstant
      The time this token was created. The start time of this token may be prior to the insert instant when generating refresh tokens for another application in an SSO scenario.
    • metaData

      public RefreshToken.MetaData metaData
    • startInstant

      public ZonedDateTime startInstant
      The time at which the life started of this token. The start + ttl = expiration. The expiration should be calculated using the start instant.

      When using a sliding window expiration policy, this value gets reset each time the token is used.

    • tenantId

      public UUID tenantId
    • token

      public String token
    • userId

      public UUID userId
  • Constructor Details

    • RefreshToken

      public RefreshToken()
    • RefreshToken

      public RefreshToken(RefreshToken other)
  • Method Details