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

io.komune.im.f2.space.lib.model.SpaceExtension.kt Maven / Gradle / Ivy

There is a newer version: 0.20.0
Show newest version
package io.komune.im.f2.space.lib.model

import io.komune.im.f2.space.domain.model.Space
import org.keycloak.representations.idm.RealmRepresentation

fun RealmRepresentation.toSpace() = Space(
    identifier = realm,
    theme = loginTheme,
    smtp = smtpServer,
    locales = supportedLocales?.toList()
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy