Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class RichContent(val content: String = "", val replacements: Map<String, RichContentReplacement> = emptyMap())

Represents rich text content with optional token replacements.

Link copied to clipboard
data class RichContentReplacement(val value: String = "", val href: String = "", val type: String = "", val target: String = "")

Represents a single replacement token inside a rich-text label.

Properties

Link copied to clipboard
const val HREF: String
Link copied to clipboard
const val REPLACEMENTS: String
Link copied to clipboard
const val RICH_CONTENT: String
Link copied to clipboard
const val TARGET: String
Link copied to clipboard
const val TYPE: String
Link copied to clipboard
const val VALUE: String

Functions

Link copied to clipboard
fun DaVinci(block: DaVinciConfig.() -> Unit = {}): <Error class: unknown class>

Function to create a DaVinci instance. fun main() { val daVinci = DaVinci { module(Oidc) { clientId = "your-client-id" redirectUri = "your-redirect-uri" scopes = listOf("openid", "profile") } } }

Link copied to clipboard
suspend fun <Error class: unknown class>.user(): User?

Function to retrieve the user.