FakeEnvironment
play.silhouette.test.FakeEnvironment
final case class FakeEnvironment[E <: Env](identities: Seq[(LoginInfo, I[E])], requestProviders: Seq[RequestProvider], eventBus: EventBus)(implicit executionContext: ExecutionContext, tt: Tag[A[E]]) extends Environment[E]
A fake environment implementation.
Type parameters
- E
-
The type of the environment.
Value parameters
- eventBus
-
The event bus implementation.
- executionContext
-
The execution context to handle the asynchronous operations.
- identities
-
A list of (login info -> identity) pairs to return inside a Silhouette action.
- requestProviders
-
The list of request providers.
- tt
-
The type tag of the authenticator type.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Environment[E]trait ExecutionContextProviderclass Objecttrait Matchableclass Any
Members list
In this article