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

com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppAuthSetting.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.outputs

import kotlin.Boolean
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property activeDirectories A `active_directory` block as defined above.
 * @property additionalLoginParameters A `additional_login_parameters` block as defined above.
 * @property allowedExternalRedirectUrls External URLs that can be redirected to as part of logging in or logging out of the app.
 * @property defaultProvider The Default Authentication Provider used when more than one Authentication Provider is configured and the `unauthenticated_action` is set to `RedirectToLoginPage`.
 * @property enabled Is the Backup enabled?
 * @property facebooks A `facebook` block as defined below.
 * @property githubs A `github` block as defined below.
 * @property googles A `google` block as defined below.
 * @property issuer The OpenID Connect Issuer URI that represents the entity which issues access tokens for this Linux Web App.
 * @property microsofts A `microsoft` block as defined below.
 * @property runtimeVersion The Runtime Version of the Authentication and Authorisation feature of this App.
 * @property tokenRefreshExtensionHours The number of hours after session token expiration that a session token can be used to call the token refresh API.
 * @property tokenStoreEnabled Is the Token Store configuration Enabled.
 * @property twitters A `twitter` block as defined below.
 * @property unauthenticatedClientAction The action to take when an unauthenticated client attempts to access the app.
 */
public data class GetLinuxWebAppAuthSetting(
    public val activeDirectories: List,
    public val additionalLoginParameters: Map,
    public val allowedExternalRedirectUrls: List,
    public val defaultProvider: String,
    public val enabled: Boolean,
    public val facebooks: List,
    public val githubs: List,
    public val googles: List,
    public val issuer: String,
    public val microsofts: List,
    public val runtimeVersion: String,
    public val tokenRefreshExtensionHours: Double,
    public val tokenStoreEnabled: Boolean,
    public val twitters: List,
    public val unauthenticatedClientAction: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetLinuxWebAppAuthSetting): GetLinuxWebAppAuthSetting = GetLinuxWebAppAuthSetting(
            activeDirectories = javaType.activeDirectories().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppAuthSettingActiveDirectory.Companion.toKotlin(args0)
                })
            }),
            additionalLoginParameters = javaType.additionalLoginParameters().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
            allowedExternalRedirectUrls = javaType.allowedExternalRedirectUrls().map({ args0 -> args0 }),
            defaultProvider = javaType.defaultProvider(),
            enabled = javaType.enabled(),
            facebooks = javaType.facebooks().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppAuthSettingFacebook.Companion.toKotlin(args0)
                })
            }),
            githubs = javaType.githubs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppAuthSettingGithub.Companion.toKotlin(args0)
                })
            }),
            googles = javaType.googles().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppAuthSettingGoogle.Companion.toKotlin(args0)
                })
            }),
            issuer = javaType.issuer(),
            microsofts = javaType.microsofts().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppAuthSettingMicrosoft.Companion.toKotlin(args0)
                })
            }),
            runtimeVersion = javaType.runtimeVersion(),
            tokenRefreshExtensionHours = javaType.tokenRefreshExtensionHours(),
            tokenStoreEnabled = javaType.tokenStoreEnabled(),
            twitters = javaType.twitters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppAuthSettingTwitter.Companion.toKotlin(args0)
                })
            }),
            unauthenticatedClientAction = javaType.unauthenticatedClientAction(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy