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

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

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property authorisationEndpoint The endpoint to make the Authorisation Request as supplied by `openid_configuration_endpoint` response.
 * @property certificationUri The endpoint that provides the keys necessary to validate the token as supplied by `openid_configuration_endpoint` response.
 * @property clientCredentialMethod The Client Credential Method used.
 * @property clientId The ID of the Client to use to authenticate with the Custom OIDC.
 * @property clientSecretSettingName The App Setting name that contains the secret for this Custom OIDC Client. This is generated from `name` above and suffixed with `_PROVIDER_AUTHENTICATION_SECRET`.
 * @property issuerEndpoint The endpoint that issued the Token as supplied by `openid_configuration_endpoint` response.
 * @property name The name of the Custom OIDC Authentication Provider.
 * > **NOTE:** An `app_setting` matching this value in upper case with the suffix of `_PROVIDER_AUTHENTICATION_SECRET` is required. e.g. `MYOIDC_PROVIDER_AUTHENTICATION_SECRET` for a value of `myoidc`.
 * @property nameClaimType The name of the claim that contains the users name.
 * @property openidConfigurationEndpoint The app setting name that contains the `client_secret` value used for the Custom OIDC Login.
 * @property scopes The list of the scopes that should be requested while authenticating.
 * @property tokenEndpoint The endpoint used to request a Token as supplied by `openid_configuration_endpoint` response.
 */
public data class WindowsWebAppAuthSettingsV2CustomOidcV2(
    public val authorisationEndpoint: String? = null,
    public val certificationUri: String? = null,
    public val clientCredentialMethod: String? = null,
    public val clientId: String,
    public val clientSecretSettingName: String? = null,
    public val issuerEndpoint: String? = null,
    public val name: String,
    public val nameClaimType: String? = null,
    public val openidConfigurationEndpoint: String,
    public val scopes: List? = null,
    public val tokenEndpoint: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsWebAppAuthSettingsV2CustomOidcV2):
            WindowsWebAppAuthSettingsV2CustomOidcV2 = WindowsWebAppAuthSettingsV2CustomOidcV2(
            authorisationEndpoint = javaType.authorisationEndpoint().map({ args0 -> args0 }).orElse(null),
            certificationUri = javaType.certificationUri().map({ args0 -> args0 }).orElse(null),
            clientCredentialMethod = javaType.clientCredentialMethod().map({ args0 -> args0 }).orElse(null),
            clientId = javaType.clientId(),
            clientSecretSettingName = javaType.clientSecretSettingName().map({ args0 -> args0 }).orElse(null),
            issuerEndpoint = javaType.issuerEndpoint().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            nameClaimType = javaType.nameClaimType().map({ args0 -> args0 }).orElse(null),
            openidConfigurationEndpoint = javaType.openidConfigurationEndpoint(),
            scopes = javaType.scopes().map({ args0 -> args0 }),
            tokenEndpoint = javaType.tokenEndpoint().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy