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

src.index.inputs.EndpointConfigurationSamlArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok.inputs

final case class EndpointConfigurationSamlArgs private(
  allowIdpInitiated: besom.types.Output[scala.Option[Boolean]],
  assertionConsumerServiceUrl: besom.types.Output[scala.Option[String]],
  authorizedGroups: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  cookiePrefix: besom.types.Output[scala.Option[String]],
  enabled: besom.types.Output[scala.Option[Boolean]],
  entityId: besom.types.Output[scala.Option[String]],
  forceAuthn: besom.types.Output[scala.Option[Boolean]],
  idpMetadata: besom.types.Output[scala.Option[String]],
  idpMetadataUrl: besom.types.Output[scala.Option[String]],
  inactivityTimeout: besom.types.Output[scala.Option[Int]],
  maximumDuration: besom.types.Output[scala.Option[Int]],
  metadataUrl: besom.types.Output[scala.Option[String]],
  nameidFormat: besom.types.Output[scala.Option[String]],
  optionsPassthrough: besom.types.Output[scala.Option[Boolean]],
  requestSigningCertificatePem: besom.types.Output[scala.Option[String]],
  singleLogoutUrl: besom.types.Output[scala.Option[String]]
)

object EndpointConfigurationSamlArgs:
  def apply(
    allowIdpInitiated: besom.types.Input.Optional[Boolean] = scala.None,
    assertionConsumerServiceUrl: besom.types.Input.Optional[String] = scala.None,
    authorizedGroups: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    cookiePrefix: besom.types.Input.Optional[String] = scala.None,
    enabled: besom.types.Input.Optional[Boolean] = scala.None,
    entityId: besom.types.Input.Optional[String] = scala.None,
    forceAuthn: besom.types.Input.Optional[Boolean] = scala.None,
    idpMetadata: besom.types.Input.Optional[String] = scala.None,
    idpMetadataUrl: besom.types.Input.Optional[String] = scala.None,
    inactivityTimeout: besom.types.Input.Optional[Int] = scala.None,
    maximumDuration: besom.types.Input.Optional[Int] = scala.None,
    metadataUrl: besom.types.Input.Optional[String] = scala.None,
    nameidFormat: besom.types.Input.Optional[String] = scala.None,
    optionsPassthrough: besom.types.Input.Optional[Boolean] = scala.None,
    requestSigningCertificatePem: besom.types.Input.Optional[String] = scala.None,
    singleLogoutUrl: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): EndpointConfigurationSamlArgs =
    new EndpointConfigurationSamlArgs(
      allowIdpInitiated = allowIdpInitiated.asOptionOutput(isSecret = false),
      assertionConsumerServiceUrl = assertionConsumerServiceUrl.asOptionOutput(isSecret = false),
      authorizedGroups = authorizedGroups.asOptionOutput(isSecret = false),
      cookiePrefix = cookiePrefix.asOptionOutput(isSecret = false),
      enabled = enabled.asOptionOutput(isSecret = false),
      entityId = entityId.asOptionOutput(isSecret = false),
      forceAuthn = forceAuthn.asOptionOutput(isSecret = false),
      idpMetadata = idpMetadata.asOptionOutput(isSecret = false),
      idpMetadataUrl = idpMetadataUrl.asOptionOutput(isSecret = false),
      inactivityTimeout = inactivityTimeout.asOptionOutput(isSecret = false),
      maximumDuration = maximumDuration.asOptionOutput(isSecret = false),
      metadataUrl = metadataUrl.asOptionOutput(isSecret = false),
      nameidFormat = nameidFormat.asOptionOutput(isSecret = false),
      optionsPassthrough = optionsPassthrough.asOptionOutput(isSecret = false),
      requestSigningCertificatePem = requestSigningCertificatePem.asOptionOutput(isSecret = false),
      singleLogoutUrl = singleLogoutUrl.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[EndpointConfigurationSamlArgs] =
    besom.internal.Encoder.derived[EndpointConfigurationSamlArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointConfigurationSamlArgs] =
    besom.internal.ArgsEncoder.derived[EndpointConfigurationSamlArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy