Class RegistrationToken

  • All Implemented Interfaces:
    Serializable

    @Entity
    public class RegistrationToken
    extends UserToken
    A Token instance that has a one-to-one relation to a User that wants to register.
    Author:
    Daniel Koch, Nils Bühner
    See Also:
    Serialized Form
    • Constructor Detail

      • RegistrationToken

        public RegistrationToken()
        Default constructor
      • RegistrationToken

        public RegistrationToken​(User user)
        Constructor that uses the default expiration time.
      • RegistrationToken

        public RegistrationToken​(User user,
                                 int expirationInMinutes)
        Constructor that uses the passed values