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: ThreadLocalSecureRandom): 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 checkOutPeers(outPeers: Seq[ApiGroupOutPeer])(implicit system: ActorSystem): Future[Boolean]

    Permalink
  12. def checkOutPeers(outPeers: Seq[ApiUserOutPeer], clientAuthId: Long)(implicit system: ActorSystem): Future[Boolean]

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

    Permalink
  14. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getGroupOutPeer(userId: Int)(implicit s: ActorSystem): Future[ApiGroupOutPeer]

    Permalink
  23. def getMDInstance(): MessageDigest

    Permalink
    Definition Classes
    ACLBase
  24. def getOutPeer(peer: ApiPeer, clientAuthId: Long)(implicit s: ActorSystem): Future[ApiOutPeer]

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

    Permalink
  26. def hash(s: String, md: MessageDigest): Long

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

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

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

    Permalink

    Generates password salt and hash

    Generates password salt and hash

    returns

    (hash, salt)

  30. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    ACLBase
  34. def nextAccessSalt(rng: ThreadLocalSecureRandom): String

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

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

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

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

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

    Permalink
  40. def randomLong(rng: ThreadLocalSecureRandom): Long

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

    Permalink
    Definition Classes
    ACLBase
  42. def randomString(rng: ThreadLocalSecureRandom): String

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

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

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

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

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

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

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

    Permalink
  50. def userAccessHash(authId: Long, userId: Int, accessSalt: String, md: MessageDigest = getMDInstance())(implicit s: ActorSystem): Long

    Permalink
  51. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. 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