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

src.index.outputs.EndpointConfigurationOidc.scala Maven / Gradle / Ivy

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


final case class EndpointConfigurationOidc private(
  clientId: scala.Option[String],
  clientSecret: scala.Option[String],
  cookiePrefix: scala.Option[String],
  enabled: scala.Option[Boolean],
  inactivityTimeout: scala.Option[Int],
  issuer: scala.Option[String],
  maximumDuration: scala.Option[Int],
  optionsPassthrough: scala.Option[Boolean],
  scopes: scala.Option[scala.collection.immutable.List[String]]
)
object EndpointConfigurationOidc :

  given decoder(using besom.types.Context): besom.types.Decoder[EndpointConfigurationOidc] =
    besom.internal.Decoder.derived[EndpointConfigurationOidc]



  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfigurationOidc])
      def clientId : besom.types.Output[scala.Option[String]] = output.map(_.clientId)
      def clientSecret : besom.types.Output[scala.Option[String]] = output.map(_.clientSecret)
      def cookiePrefix : besom.types.Output[scala.Option[String]] = output.map(_.cookiePrefix)
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.enabled)
      def inactivityTimeout : besom.types.Output[scala.Option[Int]] = output.map(_.inactivityTimeout)
      def issuer : besom.types.Output[scala.Option[String]] = output.map(_.issuer)
      def maximumDuration : besom.types.Output[scala.Option[Int]] = output.map(_.maximumDuration)
      def optionsPassthrough : besom.types.Output[scala.Option[Boolean]] = output.map(_.optionsPassthrough)
      def scopes : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.scopes)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[EndpointConfigurationOidc]])
      def clientId : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.clientId))
      def clientSecret : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.clientSecret))
      def cookiePrefix : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.cookiePrefix))
      def enabled : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.enabled))
      def inactivityTimeout : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.inactivityTimeout))
      def issuer : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.issuer))
      def maximumDuration : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.maximumDuration))
      def optionsPassthrough : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.optionsPassthrough))
      def scopes : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.scopes))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy