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

org.http4k.security.OAuthProviderConfig.kt Maven / Gradle / Ivy

package org.http4k.security

import org.http4k.core.Credentials
import org.http4k.core.Uri
import org.http4k.core.extend

data class OAuthProviderConfig(
    private val authBase: Uri,
    val authPath: String,
    val tokenPath: String,
    val credentials: Credentials,
    val apiBase: Uri = authBase,
    val authUri: Uri = authBase.extend(Uri.of(authPath)),
    val tokenUri: Uri = authBase.extend(Uri.of(tokenPath))
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy