![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.outputs.TokenStoreResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.outputs
import kotlin.Boolean
import kotlin.Double
import kotlin.Suppress
/**
* The configuration settings of the token store.
* @property azureBlobStorage The configuration settings of the storage of the tokens if blob storage is used.
* @property enabled true
to durably store platform-specific security tokens that are obtained during login flows; otherwise, false
.
* The default is false
.
* @property fileSystem The configuration settings of the storage of the tokens if a file system is used.
* @property tokenRefreshExtensionHours The number of hours after session token expiration that a session token can be used to
* call the token refresh API. The default is 72 hours.
*/
public data class TokenStoreResponse(
public val azureBlobStorage: BlobStorageTokenStoreResponse? = null,
public val enabled: Boolean? = null,
public val fileSystem: FileSystemTokenStoreResponse? = null,
public val tokenRefreshExtensionHours: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.web.outputs.TokenStoreResponse): TokenStoreResponse = TokenStoreResponse(
azureBlobStorage = javaType.azureBlobStorage().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.web.kotlin.outputs.BlobStorageTokenStoreResponse.Companion.toKotlin(args0)
})
}).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
fileSystem = javaType.fileSystem().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.web.kotlin.outputs.FileSystemTokenStoreResponse.Companion.toKotlin(args0)
})
}).orElse(null),
tokenRefreshExtensionHours = javaType.tokenRefreshExtensionHours().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy