com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.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 activeDirectory an `active_directory` block as detailed below.
* @property additionalLoginParameters Specifies a map of login Parameters to send to the OpenID Connect authorization endpoint when a user logs in.
* @property allowedExternalRedirectUrls Specifies a list of External URLs that can be redirected to as part of logging in or logging out of the Windows Web App.
* @property defaultProvider The default authentication provider to use when multiple providers are configured. Possible values include: `AzureActiveDirectory`, `Facebook`, `Google`, `MicrosoftAccount`, `Twitter`, `Github`.
* > **NOTE:** This setting is only needed if multiple providers are configured, and the `unauthenticated_client_action` is set to "RedirectToLoginPage".
* @property enabled Should the Authentication / Authorization feature be enabled?
* @property facebook a `facebook` block as detailed below.
* @property github a `github` block as detailed below.
* @property google a `google` block as detailed below.
* @property issuer The OpenID Connect Issuer URI that represents the entity which issues access tokens.
* > **NOTE:** When using Azure Active Directory, this value is the URI of the directory tenant, e.g. .
* @property microsoft a `microsoft` block as detailed below.
* @property runtimeVersion The RuntimeVersion of the Authentication / Authorization feature in use.
* @property tokenRefreshExtensionHours The number of hours after session token expiration that a session token can be used to call the token refresh API. Defaults to `72` hours.
* @property tokenStoreEnabled Should the Linux Web App durably store platform-specific security tokens that are obtained during login flows? Defaults to `false`.
* @property twitter a `twitter` block as detailed below.
* @property unauthenticatedClientAction The action to take when an unauthenticated client attempts to access the app. Possible values include: `RedirectToLoginPage`, `AllowAnonymous`.
*/
public data class LinuxFunctionAppSlotAuthSettings(
public val activeDirectory: LinuxFunctionAppSlotAuthSettingsActiveDirectory? = null,
public val additionalLoginParameters: Map? = null,
public val allowedExternalRedirectUrls: List? = null,
public val defaultProvider: String? = null,
public val enabled: Boolean,
public val facebook: LinuxFunctionAppSlotAuthSettingsFacebook? = null,
public val github: LinuxFunctionAppSlotAuthSettingsGithub? = null,
public val google: LinuxFunctionAppSlotAuthSettingsGoogle? = null,
public val issuer: String? = null,
public val microsoft: LinuxFunctionAppSlotAuthSettingsMicrosoft? = null,
public val runtimeVersion: String? = null,
public val tokenRefreshExtensionHours: Double? = null,
public val tokenStoreEnabled: Boolean? = null,
public val twitter: LinuxFunctionAppSlotAuthSettingsTwitter? = null,
public val unauthenticatedClientAction: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxFunctionAppSlotAuthSettings):
LinuxFunctionAppSlotAuthSettings = LinuxFunctionAppSlotAuthSettings(
activeDirectory = javaType.activeDirectory().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettingsActiveDirectory.Companion.toKotlin(args0)
})
}).orElse(null),
additionalLoginParameters = javaType.additionalLoginParameters().map({ args0 ->
args0.key.to(args0.value)
}).toMap(),
allowedExternalRedirectUrls = javaType.allowedExternalRedirectUrls().map({ args0 -> args0 }),
defaultProvider = javaType.defaultProvider().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled(),
facebook = javaType.facebook().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettingsFacebook.Companion.toKotlin(args0)
})
}).orElse(null),
github = javaType.github().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettingsGithub.Companion.toKotlin(args0)
})
}).orElse(null),
google = javaType.google().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettingsGoogle.Companion.toKotlin(args0)
})
}).orElse(null),
issuer = javaType.issuer().map({ args0 -> args0 }).orElse(null),
microsoft = javaType.microsoft().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettingsMicrosoft.Companion.toKotlin(args0)
})
}).orElse(null),
runtimeVersion = javaType.runtimeVersion().map({ args0 -> args0 }).orElse(null),
tokenRefreshExtensionHours = javaType.tokenRefreshExtensionHours().map({ args0 ->
args0
}).orElse(null),
tokenStoreEnabled = javaType.tokenStoreEnabled().map({ args0 -> args0 }).orElse(null),
twitter = javaType.twitter().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotAuthSettingsTwitter.Companion.toKotlin(args0)
})
}).orElse(null),
unauthenticatedClientAction = javaType.unauthenticatedClientAction().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy