pl.touk.nussknacker.ui.security.api.FrontendStrategySettings.scala Maven / Gradle / Ivy
The newest version!
package pl.touk.nussknacker.ui.security.api
import io.circe.generic.extras.{Configuration, ConfiguredJsonCodec}
@ConfiguredJsonCodec
sealed trait FrontendStrategySettings
object FrontendStrategySettings {
implicit val configuration: Configuration =
Configuration.default.withDiscriminator("strategy")
case object Browser extends FrontendStrategySettings
final case class OAuth2(
authorizeUrl: Option[String],
jwtAuthServerPublicKey: Option[String],
jwtIdTokenNonceVerificationRequired: Boolean,
implicitGrantEnabled: Boolean,
anonymousAccessAllowed: Boolean
) extends FrontendStrategySettings
final case class Remote(moduleUrl: String) extends FrontendStrategySettings
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy