com.pulumi.azure.appplatform.kotlin.outputs.SpringCloudGatewaySso.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appplatform.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property clientId The public identifier for the application.
* @property clientSecret The secret known only to the application and the authorization server.
* @property issuerUri The URI of Issuer Identifier.
* @property scopes It defines the specific actions applications can be allowed to do on a user's behalf.
*/
public data class SpringCloudGatewaySso(
public val clientId: String? = null,
public val clientSecret: String? = null,
public val issuerUri: String? = null,
public val scopes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appplatform.outputs.SpringCloudGatewaySso): SpringCloudGatewaySso = SpringCloudGatewaySso(
clientId = javaType.clientId().map({ args0 -> args0 }).orElse(null),
clientSecret = javaType.clientSecret().map({ args0 -> args0 }).orElse(null),
issuerUri = javaType.issuerUri().map({ args0 -> args0 }).orElse(null),
scopes = javaType.scopes().map({ args0 -> args0 }),
)
}
}