
com.pulumi.azurenative.app.kotlin.inputs.AzureActiveDirectoryValidationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.AzureActiveDirectoryValidationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The configuration settings of the Azure Active Directory token validation flow.
* @property allowedAudiences The list of audiences that can make successful authentication/authorization requests.
* @property defaultAuthorizationPolicy The configuration settings of the default authorization policy.
* @property jwtClaimChecks The configuration settings of the checks that should be made while validating the JWT Claims.
*/
public data class AzureActiveDirectoryValidationArgs(
public val allowedAudiences: Output>? = null,
public val defaultAuthorizationPolicy: Output? = null,
public val jwtClaimChecks: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.AzureActiveDirectoryValidationArgs =
com.pulumi.azurenative.app.inputs.AzureActiveDirectoryValidationArgs.builder()
.allowedAudiences(allowedAudiences?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.defaultAuthorizationPolicy(
defaultAuthorizationPolicy?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.jwtClaimChecks(
jwtClaimChecks?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [AzureActiveDirectoryValidationArgs].
*/
@PulumiTagMarker
public class AzureActiveDirectoryValidationArgsBuilder internal constructor() {
private var allowedAudiences: Output>? = null
private var defaultAuthorizationPolicy: Output? = null
private var jwtClaimChecks: Output? = null
/**
* @param value The list of audiences that can make successful authentication/authorization requests.
*/
@JvmName("eqbhvultdgordqyg")
public suspend fun allowedAudiences(`value`: Output>) {
this.allowedAudiences = value
}
@JvmName("fvygybcgqqvnnpta")
public suspend fun allowedAudiences(vararg values: Output) {
this.allowedAudiences = Output.all(values.asList())
}
/**
* @param values The list of audiences that can make successful authentication/authorization requests.
*/
@JvmName("wdgwakoorjrqawux")
public suspend fun allowedAudiences(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy