case class FakeEnvironment[E <: Env](identities: Seq[(LoginInfo, E.I)], requestProviders: Seq[RequestProvider] = Seq(), eventBus: EventBus = EventBus())(implicit executionContext: ExecutionContext, tt: scala.reflect.api.JavaUniverse.TypeTag[E.A]) extends Environment[E] with Product with Serializable
A fake environment implementation.
- E
The type of the environment.
- identities
A list of (login info -> identity) pairs to return inside a Silhouette action.
- requestProviders
The list of request providers.
- eventBus
The event bus implementation.
- executionContext
The execution context to handle the asynchronous operations.
- tt
The type tag of the authenticator type.
- Alphabetic
- By Inheritance
- FakeEnvironment
- Serializable
- Product
- Equals
- Environment
- ExecutionContextProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FakeEnvironment(identities: Seq[(LoginInfo, E.I)], requestProviders: Seq[RequestProvider] = Seq(), eventBus: EventBus = EventBus())(implicit executionContext: ExecutionContext, tt: scala.reflect.api.JavaUniverse.TypeTag[E.A])
- identities
A list of (login info -> identity) pairs to return inside a Silhouette action.
- requestProviders
The list of request providers.
- eventBus
The event bus implementation.
- executionContext
The execution context to handle the asynchronous operations.
- tt
The type tag of the authenticator type.
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
- val authenticatorService: AuthenticatorService[E.A]
The authenticator service implementation.
The authenticator service implementation.
- Definition Classes
- FakeEnvironment → Environment
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val eventBus: EventBus
- Definition Classes
- FakeEnvironment → Environment
- implicit val executionContext: ExecutionContext
- Definition Classes
- FakeEnvironment → ExecutionContextProvider
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val identities: Seq[(LoginInfo, E.I)]
- val identityService: IdentityService[E.I]
The identity service implementation.
The identity service implementation.
- Definition Classes
- FakeEnvironment → Environment
- 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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestProviders: Seq[RequestProvider]
- Definition Classes
- FakeEnvironment → Environment
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()