ClientKey
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.management/ClientKey
ClientKey
Section titled “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 = "")
Constructors
Section titled “Constructors”| ClientKey | [jvm] constructor(id: String, name: String, description: String? = null, keyPrefix: String = "", scopes: List<String> = emptyList(), rateLimitPerMinute: Int = 0, createdAt: String = "", expiresAt: String? = null, revokedAt: String? = null, lastUsedAt: String? = null, userId: String = "") |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| createdAt | [jvm] @SerialName(value = "created_at") val createdAt: String |
| description | [jvm] val description: String? |
| expiresAt | [jvm] @SerialName(value = "expires_at") val expiresAt: String? |
| id | [jvm] val id: String |
| keyPrefix | [jvm] @SerialName(value = "key_prefix") val keyPrefix: String |
| lastUsedAt | [jvm] @SerialName(value = "last_used_at") val lastUsedAt: String? |
| name | [jvm] val name: String |
| rateLimitPerMinute | [jvm] @SerialName(value = "rate_limit_per_minute") val rateLimitPerMinute: Int |
| revokedAt | [jvm] @SerialName(value = "revoked_at") val revokedAt: String? |
| scopes | [jvm] val scopes: List<String> |
| userId | [jvm] @SerialName(value = "user_id") val userId: String |