http4k / org.http4k.security.oauth.testing / FakeOAuthServer
object FakeOAuthServer
This Server provides auto-login functionality without the need for user action.
Name | Summary |
---|---|
invoke | operator fun invoke(authPath: String , tokenPath: String , clock: Clock = Clock.systemDefaultZone(), accessCodePrefix: ( AuthorizationCode ) -> String = { "OAUTH_" + it.value.reversed() }): HttpHandler |