com.pulumi.azurenative.app.kotlin.inputs.OpenIdConnectConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.OpenIdConnectConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The configuration settings of the endpoints used for the custom Open ID Connect provider.
* @property authorizationEndpoint The endpoint to be used to make an authorization request.
* @property certificationUri The endpoint that provides the keys necessary to validate the token.
* @property issuer The endpoint that issues the token.
* @property tokenEndpoint The endpoint to be used to request a token.
* @property wellKnownOpenIdConfiguration The endpoint that contains all the configuration endpoints for the provider.
*/
public data class OpenIdConnectConfigArgs(
public val authorizationEndpoint: Output? = null,
public val certificationUri: Output? = null,
public val issuer: Output? = null,
public val tokenEndpoint: Output? = null,
public val wellKnownOpenIdConfiguration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.OpenIdConnectConfigArgs =
com.pulumi.azurenative.app.inputs.OpenIdConnectConfigArgs.builder()
.authorizationEndpoint(authorizationEndpoint?.applyValue({ args0 -> args0 }))
.certificationUri(certificationUri?.applyValue({ args0 -> args0 }))
.issuer(issuer?.applyValue({ args0 -> args0 }))
.tokenEndpoint(tokenEndpoint?.applyValue({ args0 -> args0 }))
.wellKnownOpenIdConfiguration(wellKnownOpenIdConfiguration?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OpenIdConnectConfigArgs].
*/
@PulumiTagMarker
public class OpenIdConnectConfigArgsBuilder internal constructor() {
private var authorizationEndpoint: Output? = null
private var certificationUri: Output? = null
private var issuer: Output? = null
private var tokenEndpoint: Output? = null
private var wellKnownOpenIdConfiguration: Output? = null
/**
* @param value The endpoint to be used to make an authorization request.
*/
@JvmName("avemylvcwnsmwleo")
public suspend fun authorizationEndpoint(`value`: Output) {
this.authorizationEndpoint = value
}
/**
* @param value The endpoint that provides the keys necessary to validate the token.
*/
@JvmName("idnfilypselnvioh")
public suspend fun certificationUri(`value`: Output) {
this.certificationUri = value
}
/**
* @param value The endpoint that issues the token.
*/
@JvmName("nogfwuybppooxogd")
public suspend fun issuer(`value`: Output) {
this.issuer = value
}
/**
* @param value The endpoint to be used to request a token.
*/
@JvmName("pvietsusiomqxnww")
public suspend fun tokenEndpoint(`value`: Output) {
this.tokenEndpoint = value
}
/**
* @param value The endpoint that contains all the configuration endpoints for the provider.
*/
@JvmName("rnjyjjuhdessiisp")
public suspend fun wellKnownOpenIdConfiguration(`value`: Output) {
this.wellKnownOpenIdConfiguration = value
}
/**
* @param value The endpoint to be used to make an authorization request.
*/
@JvmName("xnkyeeoxrsbernsk")
public suspend fun authorizationEndpoint(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authorizationEndpoint = mapped
}
/**
* @param value The endpoint that provides the keys necessary to validate the token.
*/
@JvmName("gypavinnjhqmsnqc")
public suspend fun certificationUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificationUri = mapped
}
/**
* @param value The endpoint that issues the token.
*/
@JvmName("tfxauofjqmwqakos")
public suspend fun issuer(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.issuer = mapped
}
/**
* @param value The endpoint to be used to request a token.
*/
@JvmName("hmimglorjfwgpxoq")
public suspend fun tokenEndpoint(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tokenEndpoint = mapped
}
/**
* @param value The endpoint that contains all the configuration endpoints for the provider.
*/
@JvmName("fxbxygnlgvxyrhwa")
public suspend fun wellKnownOpenIdConfiguration(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.wellKnownOpenIdConfiguration = mapped
}
internal fun build(): OpenIdConnectConfigArgs = OpenIdConnectConfigArgs(
authorizationEndpoint = authorizationEndpoint,
certificationUri = certificationUri,
issuer = issuer,
tokenEndpoint = tokenEndpoint,
wellKnownOpenIdConfiguration = wellKnownOpenIdConfiguration,
)
}