Skip to content

Package-level declarations

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.management

Name Summary
ClientKey [jvm]
@Serializable
data class ClientKey(val id: String, val name: String, val description: String? = null, val keyPrefix: String = "", val scopes: List<String> = emptyList(), val rateLimitPerMinute: Int = 0, val createdAt: String = "", val expiresAt: String? = null, val revokedAt: String? = null, val lastUsedAt: String? = null, val userId: String = "")
ClientKeysManager [jvm]
class ClientKeysManager(http: FluxbaseHttpClient)
Client API keys. Endpoints under /api/v1/client-keys.
CreateClientKeyResponse [jvm]
@Serializable
data class CreateClientKeyResponse(val clientKey: ClientKey, val key: String)
FluxbaseManagement [jvm]
class FluxbaseManagement(http: FluxbaseHttpClient)
Management module — port of FluxbaseManagement from sdk/src/management.ts.
Invitation [jvm]
@Serializable
data class Invitation(val id: String, val email: String, val role: String, val token: String? = null, val invitedBy: String = "", val acceptedAt: String? = null, val expiresAt: String = "", val createdAt: String = "")
InvitationsManager [jvm]
class InvitationsManager(http: FluxbaseHttpClient)
Invitations. Public methods: validate, accept. Admin methods: create, list, revoke.
ListClientKeysResponse [jvm]
@Serializable
data class ListClientKeysResponse(val clientKeys: List<ClientKey> = emptyList(), val total: Int = 0)
ListWebhooksResponse [jvm]
@Serializable
data class ListWebhooksResponse(val webhooks: List<Webhook> = emptyList(), val total: Int = 0)
ValidateInvitationResponse [jvm]
@Serializable
data class ValidateInvitationResponse(val valid: Boolean, val invitation: Invitation? = null, val error: String? = null)
Webhook [jvm]
@Serializable
data class Webhook(val id: String, val url: String, val events: List<String> = emptyList(), val secret: String? = null, val description: String? = null, val isActive: Boolean = true, val createdAt: String = "", val userId: String = "")
WebhooksManager [jvm]
class WebhooksManager(http: FluxbaseHttpClient)
Webhooks. Endpoints under /api/v1/webhooks.