package daos
Provides DAO implementations to persist and retrieve objects.
Type Members
- trait AuthInfoDAO[T <: AuthInfo] extends AnyRef
The DAO to persist the auth info.
The DAO to persist the auth info.
- T
The type of the auth info to store.
- trait DelegableAuthInfoDAO[T <: AuthInfo] extends AuthInfoDAO[T]
An implementation of the auth info DAO.
An implementation of the auth info DAO.
This abstract implementation of the com.mohiva.play.silhouette.persistence.daos.AuthInfoDAO trait allows us to get the class tag of the auth info it is responsible for. Based on the class tag the com.mohiva.play.silhouette.persistence.repositories.DelegableAuthInfoRepository class can delegate operations to the DAO which is responsible for the currently handled auth info.
- T
The type of the auth info to store.
- class InMemoryAuthInfoDAO[T <: AuthInfo] extends DelegableAuthInfoDAO[T]
An implementation of the auth info DAO which stores the data in memory.
An implementation of the auth info DAO which stores the data in memory.
This is not thread-safe implementation which should only be used for testing or development purpose.
- T
The type of the auth info to store.