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

com.pulumi.azurenative.web.kotlin.outputs.NonceResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * The configuration settings of the nonce used in the login flow.
 * @property nonceExpirationInterval The time after the request is made when the nonce should expire.
 * @property validateNonce false if the nonce should not be validated while completing the login flow; otherwise, true.
 */
public data class NonceResponse(
    public val nonceExpirationInterval: String? = null,
    public val validateNonce: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.web.outputs.NonceResponse): NonceResponse =
            NonceResponse(
                nonceExpirationInterval = javaType.nonceExpirationInterval().map({ args0 -> args0 }).orElse(null),
                validateNonce = javaType.validateNonce().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy