p

model

package model

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class AuthToken (uid: IdOptionLong, expiry: DateTime = DateTime.now + 3.hours, id: IdUuid = Id(UUID.randomUUID)) extends Product with Serializable

    A token to authenticate a user for a short time.

    A token to authenticate a user for a short time.

    uid

    The unique ID of the user the token is associated with; type Id[Option[Long]\] is easier to work with than Id[Long]

    expiry

    The DateTime the token expires.

    id

    Unique token ID.

  2. final case class ClearTextPassword (value: String) extends AnyVal with Product with Serializable
  3. final case class EMail (value: String) extends AnyVal with Product with Serializable
  4. case class EMailFullName (name: String, email: EMail) extends Product with Serializable

    returns

    only the user name if the email is invalid or missing

  5. final case class EncryptedPassword (value: String) extends AnyVal with Product with Serializable
  6. trait IdJsonImplicits extends AnyRef
  7. case class User (userId: UserId, email: EMail, firstName: String, lastName: String, password: EncryptedPassword, activated: Boolean = false, id: Id[Option[Long]] = Id.empty) extends HasId[User, Option[Long]] with Product with Serializable

    activated

    set when the user clicks on a link in an activation email

  8. final case class UserId (value: String) extends AnyVal with Product with Serializable

Value Members

  1. object AuthToken extends IdImplicitLike with Serializable
  2. object EMail extends Serializable
  3. object PlayIdBinders extends IdImplicitLike
  4. object PlayUserIdBinders

Ungrouped