All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.http4k.connect.amazon.iamidentitycenter.FakeSSO.kt Maven / Gradle / Ivy

There is a newer version: 5.41.0.0
Show newest version
package org.http4k.connect.amazon.iamidentitycenter

import org.http4k.chaos.ChaoticHttpHandler
import org.http4k.chaos.start
import org.http4k.connect.amazon.iamidentitycenter.endpoints.getFederatedCredentials
import org.http4k.routing.routes
import java.time.Clock

class FakeSSO(clock: Clock = Clock.systemUTC()) : ChaoticHttpHandler() {
    override val app = routes(
        getFederatedCredentials(clock)
    )
}

fun main() {
    FakeSSO().start()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy