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

com.pulumi.azure.appservice.kotlin.outputs.GetWindowsFunctionAppAuthSettingsV2CustomOidcV2.kt Maven / Gradle / Ivy

@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 OAuth 2.0 client ID that was created for the app used for authentication.
 * @property clientSecretSettingName The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
 * @property issuerEndpoint The endpoint that issued the Token as supplied by `openid_configuration_endpoint` response.
 * @property name The name of this Windows Function App.
 * @property nameClaimType The name of the claim that contains the users name.
 * @property openidConfigurationEndpoint The endpoint used for OpenID Connect Discovery. For example `https://example.com/.well-known/openid-configuration`.
 * @property scopes The list of the scopes that are requested while authenticating.
 * @property tokenEndpoint The endpoint used to request a Token as supplied by `openid_configuration_endpoint` response.
 */
public data class GetWindowsFunctionAppAuthSettingsV2CustomOidcV2(
    public val authorisationEndpoint: String,
    public val certificationUri: String,
    public val clientCredentialMethod: String,
    public val clientId: String,
    public val clientSecretSettingName: String,
    public val issuerEndpoint: String,
    public val name: String,
    public val nameClaimType: String,
    public val openidConfigurationEndpoint: String,
    public val scopes: List,
    public val tokenEndpoint: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetWindowsFunctionAppAuthSettingsV2CustomOidcV2):
            GetWindowsFunctionAppAuthSettingsV2CustomOidcV2 =
            GetWindowsFunctionAppAuthSettingsV2CustomOidcV2(
                authorisationEndpoint = javaType.authorisationEndpoint(),
                certificationUri = javaType.certificationUri(),
                clientCredentialMethod = javaType.clientCredentialMethod(),
                clientId = javaType.clientId(),
                clientSecretSettingName = javaType.clientSecretSettingName(),
                issuerEndpoint = javaType.issuerEndpoint(),
                name = javaType.name(),
                nameClaimType = javaType.nameClaimType(),
                openidConfigurationEndpoint = javaType.openidConfigurationEndpoint(),
                scopes = javaType.scopes().map({ args0 -> args0 }),
                tokenEndpoint = javaType.tokenEndpoint(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy