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

com.pulumi.azurenative.web.kotlin.inputs.OpenIdConnectClientCredentialArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.inputs

import com.pulumi.azurenative.web.inputs.OpenIdConnectClientCredentialArgs.builder
import com.pulumi.azurenative.web.kotlin.enums.ClientCredentialMethod
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 authentication client credentials of the custom Open ID Connect provider.
 * @property clientSecretSettingName The app setting that contains the client secret for the custom Open ID Connect provider.
 * @property method The method that should be used to authenticate the user.
 */
public data class OpenIdConnectClientCredentialArgs(
    public val clientSecretSettingName: Output? = null,
    public val method: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.web.inputs.OpenIdConnectClientCredentialArgs =
        com.pulumi.azurenative.web.inputs.OpenIdConnectClientCredentialArgs.builder()
            .clientSecretSettingName(clientSecretSettingName?.applyValue({ args0 -> args0 }))
            .method(method?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [OpenIdConnectClientCredentialArgs].
 */
@PulumiTagMarker
public class OpenIdConnectClientCredentialArgsBuilder internal constructor() {
    private var clientSecretSettingName: Output? = null

    private var method: Output? = null

    /**
     * @param value The app setting that contains the client secret for the custom Open ID Connect provider.
     */
    @JvmName("bkgmdspwhbsnwbte")
    public suspend fun clientSecretSettingName(`value`: Output) {
        this.clientSecretSettingName = value
    }

    /**
     * @param value The method that should be used to authenticate the user.
     */
    @JvmName("gnqhxyqyvlirkjyj")
    public suspend fun method(`value`: Output) {
        this.method = value
    }

    /**
     * @param value The app setting that contains the client secret for the custom Open ID Connect provider.
     */
    @JvmName("ickwqhjqasxiaepg")
    public suspend fun clientSecretSettingName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientSecretSettingName = mapped
    }

    /**
     * @param value The method that should be used to authenticate the user.
     */
    @JvmName("syejiktvufqljvdf")
    public suspend fun method(`value`: ClientCredentialMethod?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.method = mapped
    }

    internal fun build(): OpenIdConnectClientCredentialArgs = OpenIdConnectClientCredentialArgs(
        clientSecretSettingName = clientSecretSettingName,
        method = method,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy