Created
January 29, 2016 18:41
-
-
Save brikis98/4d76039f7c1c13227dd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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