commonMain.aws.sdk.kotlin.services.tnb.auth.DefaultTnbAuthSchemeProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tnb-jvm Show documentation
Show all versions of tnb-jvm Show documentation
The AWS SDK for Kotlin client for tnb
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.tnb.auth
import aws.sdk.kotlin.services.tnb.endpoints.TnbEndpointProvider
import aws.smithy.kotlin.runtime.auth.AuthOption
import aws.smithy.kotlin.runtime.http.auth.sigV4
public class DefaultTnbAuthSchemeProvider(private val endpointProvider: TnbEndpointProvider? = null) : TnbAuthSchemeProvider {
private val operationOverrides = mapOf>(
)
private val serviceDefaults = listOf(
sigV4(),
)
override suspend fun resolveAuthScheme(params: TnbAuthSchemeParameters): List {
val modeledAuthOptions = operationOverrides.getOrElse(params.operationName) {
serviceDefaults
}
return modeledAuthOptions
}
}