object AuthTokens
- Source
- AuthTokens.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AuthTokens
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- @HotSpotIntrinsicCandidate() @throws( ... )
-
def
create(uid: IdOptionLong, expiry: DateTime): (String, String, Option[AuthToken])
Creates a new auth token and saves it in the backing store.
Creates a new auth token and saves it in the backing store.
- uid
The user ID for which the token should be created.
- returns
The saved auth token.
- def delete(authToken: AuthToken): Unit
-
def
deleteExpiredTokens()(implicit ec: ExecutionContext): Unit
Cleans expired tokens.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def findAll: Vector[AuthToken]
- def findById(id: Id[UUID]): Option[AuthToken]
-
def
findByUid(uid: IdOptionLong): Option[AuthToken]
- returns
token for user with Id uid
- def findExpired(dateTime: DateTime): Vector[AuthToken]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate()
-
def
queryById(id: Id[UUID]): (ctx)#Quoted[(ctx)#EntityQuery[AuthToken]]
- Attributes
- protected
- def save(authToken: AuthToken): AuthToken
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def update(authToken: AuthToken): Long
-
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( ... )