Class

quasar.precog.common.security

InMemoryAPIKeyManager

Related Doc: package security

Permalink

class InMemoryAPIKeyManager[M[+_]] extends APIKeyManager[M]

Linear Supertypes
APIKeyManager[M], Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemoryAPIKeyManager
  2. APIKeyManager
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InMemoryAPIKeyManager(clock: Clock)(implicit M: Monad[M])

    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. implicit val M: Monad[M]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  5. def addGrants(apiKey: APIKey, grants: Set[GrantId]): M[Option[APIKeyRecord]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  6. val apiKeys: HashMap[String, APIKeyRecord]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(): M[Unit]

    Permalink
  10. def createAPIKey(name: Option[String], description: Option[String], issuerKey: APIKey, grants: Set[GrantId]): M[APIKeyRecord]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  11. def createGrant(name: Option[String], description: Option[String], issuerKey: APIKey, parentIds: Set[GrantId], perms: Set[Permission], expiration: Option[LocalDateTime]): M[Grant]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  12. def deleteAPIKey(apiKey: APIKey): M[Option[APIKeyRecord]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  13. def deleteGrant(gid: GrantId): M[Set[Grant]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  14. def deriveAndAddGrant(name: Option[String], description: Option[String], issuerKey: APIKey, perms: Set[Permission], recipientKey: APIKey, expiration: Option[LocalDateTime] = None): M[Option[Grant]]

    Permalink
    Definition Classes
    APIKeyManager
  15. def deriveGrant(name: Option[String], description: Option[String], issuerKey: APIKey, perms: Set[Permission], expiration: Option[LocalDateTime] = None): M[Option[Grant]]

    Permalink
    Definition Classes
    APIKeyManager
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def findAPIKey(apiKey: APIKey): M[Option[APIKeyRecord]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  20. def findAPIKeyAncestry(apiKey: APIKey): M[List[APIKeyRecord]]

    Permalink
    Definition Classes
    APIKeyManager
  21. def findAPIKeyChildren(parent: APIKey): M[Set[APIKeyRecord]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  22. def findDeletedAPIKey(apiKey: APIKey): M[Option[APIKeyRecord]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  23. def findDeletedGrant(gid: GrantId): M[Option[Grant]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  24. def findDeletedGrantChildren(gid: GrantId): M[Set[Grant]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  25. def findGrant(gid: GrantId): M[Option[Grant]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  26. def findGrantChildren(gid: GrantId): M[Set[Grant]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  27. def findValidGrant(grantId: GrantId, at: Option[LocalDateTime] = None): M[Option[Grant]]

    Permalink
    Definition Classes
    APIKeyManager
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. val grants: HashMap[String, Grant]

    Permalink
  30. def hasCapability(apiKey: APIKey, perms: Set[Permission], at: Option[LocalDateTime] = None): M[Boolean]

    Permalink
    Definition Classes
    APIKeyManager
  31. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. def listAPIKeys(): M[List[APIKeyRecord]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  34. def listDeletedAPIKeys(): M[List[APIKeyRecord]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  35. def listDeletedGrants(): M[List[Grant]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  36. def listGrants(): M[List[Grant]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  37. val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def newAPIKeyWithGrants(name: Option[String], description: Option[String], issuerKey: APIKey, grants: Set[NewGrantRequest]): M[Option[APIKeyRecord]]

    Permalink
    Definition Classes
    APIKeyManager
  40. def newStandardAPIKeyRecord(accountId: AccountId, name: Option[String] = None, description: Option[String] = None): M[APIKeyRecord]

    Permalink
    Definition Classes
    APIKeyManager
  41. def newStandardAccountGrant(accountId: AccountId, path: Path, name: Option[String] = None, description: Option[String] = None): M[Grant]

    Permalink
    Definition Classes
    APIKeyManager
  42. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  44. def removeGrants(apiKey: APIKey, grants: Set[GrantId]): M[Option[APIKeyRecord]]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  45. def rootAPIKey: M[APIKey]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  46. val rootAPIKeyRecord: APIKeyRecord

    Permalink
  47. def rootGrantId: M[GrantId]

    Permalink
    Definition Classes
    InMemoryAPIKeyManagerAPIKeyManager
  48. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  50. def validGrants(apiKey: APIKey, at: Option[LocalDateTime] = None): M[Set[Grant]]

    Permalink
    Definition Classes
    APIKeyManager
  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 APIKeyManager[M]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped