Object

im.actor.server.acl

ACLUtils

Related Doc: package acl

Permalink

object ACLUtils extends ACLBase with ACLFiles

Linear Supertypes
ACLFiles, ACLBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ACLUtils
  2. ACLFiles
  3. ACLBase
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Hash = Array[Byte]

    Permalink
  2. type Salt = Array[Byte]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val PasswordMaxLength: Int

    Permalink
  5. val PasswordMinLength: Int

    Permalink
  6. def accessToken(rng: ThreadLocalRandom): String

    Permalink
  7. def accessToken(): String

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def authTransactionHash(accessSalt: String)(implicit s: ActorSystem): String

    Permalink
  10. def checkOutPeer(outPeer: ApiOutPeer, clientAuthId: Long)(implicit s: ActorSystem): Future[Boolean]

    Permalink
  11. def checkPassword(userId: Int, password: String)(implicit ec: ExecutionContext): DBIO[Boolean]

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def emailAccessHash(authId: Long, e: UserEmail)(implicit s: ActorSystem): Long

    Permalink
  14. def emailAccessHash(authId: Long, userId: Int, emailId: Int, accessSalt: String)(implicit s: ActorSystem): Long

    Permalink
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def fileAccessHash(fileId: Long, accessSalt: String)(implicit s: ActorSystem): Long

    Permalink
    Definition Classes
    ACLFiles
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getOutPeer(peer: ApiPeer, clientAuthId: Long)(implicit s: ActorSystem): Future[ApiOutPeer]

    Permalink
  21. def getUserOutPeer(userId: Int, clientAuthId: Long)(implicit s: ActorSystem): Future[ApiUserOutPeer]

    Permalink
  22. def hash(s: String): Long

    Permalink
    Definition Classes
    ACLBase
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashPassword(password: String, salt: Array[Byte]): Hash

    Permalink
  25. def hashPassword(password: String): (Hash, Salt)

    Permalink

    Generates password salt and hash

    Generates password salt and hash

    returns

    (hash, salt)

  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isPasswordValid(password: String): Boolean

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def nextAccessSalt(): String

    Permalink
    Definition Classes
    ACLBase
  30. def nextAccessSalt(rng: ThreadLocalRandom): String

    Permalink
    Definition Classes
    ACLBase
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def phoneAccessHash(authId: Long, p: UserPhone)(implicit s: ActorSystem): Long

    Permalink
  34. def phoneAccessHash(authId: Long, userId: Int, phoneId: Int, accessSalt: String)(implicit s: ActorSystem): Long

    Permalink
  35. def randomHash()(implicit s: ActorSystem): String

    Permalink
  36. def randomLong(rng: ThreadLocalRandom): Long

    Permalink
    Definition Classes
    ACLBase
  37. def randomLong(): Long

    Permalink
    Definition Classes
    ACLBase
  38. def randomString(rng: ThreadLocalRandom): String

    Permalink
    Definition Classes
    ACLBase
  39. def randomString(): String

    Permalink
    Definition Classes
    ACLBase
  40. def secretKey()(implicit s: ActorSystem): String

    Permalink
    Definition Classes
    ACLBase
  41. def stickerPackAccessHash(pack: StickerPack)(implicit s: ActorSystem): Long

    Permalink
  42. def stickerPackAccessHash(id: Int, ownerUserId: Int, accessSalt: String)(implicit s: ActorSystem): Long

    Permalink
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. def userAccessHash(authId: Long, u: User)(implicit s: ActorSystem): Long

    Permalink
  46. def userAccessHash(authId: Long, userId: Int, accessSalt: String)(implicit s: ActorSystem): Long

    Permalink
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ACLFiles

Inherited from ACLBase

Inherited from AnyRef

Inherited from Any

Ungrouped