api

http4k / org.http4k.security.oauth.testing / FakeOAuthServer

FakeOAuthServer

object FakeOAuthServer

This Server provides auto-login functionality without the need for user action.

Functions

Name Summary
invoke operator fun invoke(authPath: String, tokenPath: String, clock: Clock = Clock.systemDefaultZone(), accessCodePrefix: (AuthorizationCode) -> String = { "OAUTH_" + it.value.reversed() }): HttpHandler