quasar
.
precog
.
common
.
security
APIKeyManager
Related Docs:
object APIKeyManager
|
package security
trait
APIKeyManager
[
M
[
+_
]
]
extends
Logging
Self Type
APIKeyManager
[
M
]
Linear Supertypes
Logging
,
AnyRef
,
Any
Known Subclasses
InMemoryAPIKeyManager
Ordering
Alphabetic
By Inheritance
Inherited
APIKeyManager
Logging
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
implicit abstract
def
M
:
Monad
[
M
]
abstract
def
addGrants
(
apiKey:
APIKey
,
grants:
Set
[
GrantId
]
)
:
M
[
Option
[
APIKeyRecord
]]
abstract
def
createAPIKey
(
name:
Option
[
String
]
,
description:
Option
[
String
]
,
issuerKey:
APIKey
,
grants:
Set
[
GrantId
]
)
:
M
[
APIKeyRecord
]
abstract
def
createGrant
(
name:
Option
[
String
]
,
description:
Option
[
String
]
,
issuerKey:
APIKey
,
parentIds:
Set
[
GrantId
]
,
perms:
Set
[
Permission
]
,
expiration:
Option
[
LocalDateTime
]
)
:
M
[
Grant
]
abstract
def
deleteAPIKey
(
apiKey:
APIKey
)
:
M
[
Option
[
APIKeyRecord
]]
abstract
def
deleteGrant
(
apiKey:
GrantId
)
:
M
[
Set
[
Grant
]]
abstract
def
findAPIKey
(
apiKey:
APIKey
)
:
M
[
Option
[
APIKeyRecord
]]
abstract
def
findAPIKeyChildren
(
apiKey:
APIKey
)
:
M
[
Set
[
APIKeyRecord
]]
abstract
def
findDeletedAPIKey
(
apiKey:
APIKey
)
:
M
[
Option
[
APIKeyRecord
]]
abstract
def
findDeletedGrant
(
gid:
GrantId
)
:
M
[
Option
[
Grant
]]
abstract
def
findDeletedGrantChildren
(
gid:
GrantId
)
:
M
[
Set
[
Grant
]]
abstract
def
findGrant
(
gid:
GrantId
)
:
M
[
Option
[
Grant
]]
abstract
def
findGrantChildren
(
gid:
GrantId
)
:
M
[
Set
[
Grant
]]
abstract
def
listAPIKeys
:
M
[
Seq
[
APIKeyRecord
]]
abstract
def
listDeletedAPIKeys
:
M
[
Seq
[
APIKeyRecord
]]
abstract
def
listDeletedGrants
:
M
[
Seq
[
Grant
]]
abstract
def
listGrants
:
M
[
Seq
[
Grant
]]
abstract
def
removeGrants
(
apiKey:
APIKey
,
grants:
Set
[
GrantId
]
)
:
M
[
Option
[
APIKeyRecord
]]
abstract
def
rootAPIKey
:
M
[
APIKey
]
abstract
def
rootGrantId
:
M
[
GrantId
]
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
deriveAndAddGrant
(
name:
Option
[
String
]
,
description:
Option
[
String
]
,
issuerKey:
APIKey
,
perms:
Set
[
Permission
]
,
recipientKey:
APIKey
,
expiration:
Option
[
LocalDateTime
] =
None
)
:
M
[
Option
[
Grant
]]
def
deriveGrant
(
name:
Option
[
String
]
,
description:
Option
[
String
]
,
issuerKey:
APIKey
,
perms:
Set
[
Permission
]
,
expiration:
Option
[
LocalDateTime
] =
None
)
:
M
[
Option
[
Grant
]]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findAPIKeyAncestry
(
apiKey:
APIKey
)
:
M
[
List
[
APIKeyRecord
]]
def
findValidGrant
(
grantId:
GrantId
,
at:
Option
[
LocalDateTime
] =
None
)
:
M
[
Option
[
Grant
]]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hasCapability
(
apiKey:
APIKey
,
perms:
Set
[
Permission
]
,
at:
Option
[
LocalDateTime
] =
None
)
:
M
[
Boolean
]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
log
:
Logger
Attributes
protected
Definition Classes
Logging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
newAPIKeyWithGrants
(
name:
Option
[
String
]
,
description:
Option
[
String
]
,
issuerKey:
APIKey
,
grants:
Set
[
NewGrantRequest
]
)
:
M
[
Option
[
APIKeyRecord
]]
def
newStandardAPIKeyRecord
(
accountId:
AccountId
,
name:
Option
[
String
] =
None
,
description:
Option
[
String
] =
None
)
:
M
[
APIKeyRecord
]
def
newStandardAccountGrant
(
accountId:
AccountId
,
path:
Path
,
name:
Option
[
String
] =
None
,
description:
Option
[
String
] =
None
)
:
M
[
Grant
]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
validGrants
(
apiKey:
APIKey
,
at:
Option
[
LocalDateTime
] =
None
)
:
M
[
Set
[
Grant
]]
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped