Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class MyEnvironment extends Environment[MyUser, CookieAuthenticator] {
override val identityService: IdentityService[MyUser] = new MyIdentityService()
override val authenticatorService: AuthenticatorService[CookieAuthenticator] = new CookieAuthenticatorService(
settings = CookieAuthenticatorSettings(),
dao = None,
fingerprintGenerator = new DefaultFingerprintGenerator(),
idGenerator = new SecureRandomIDGenerator(),
clock = Clock()
)
override val eventBus: EventBus = EventBus()
// What's a RequestProvider?
override val requestProviders: Seq[RequestProvider] = ???
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.