commonMain.com.atproto.identity.signPlcOperation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky-jvm Show documentation
Show all versions of bluesky-jvm Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package com.atproto.identity
import kotlin.String
import kotlin.Suppress
import kotlinx.collections.immutable.persistentListOf
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.model.JsonContent
import sh.christian.ozone.api.model.ReadOnlyList
/**
* @param token A token received through com.atproto.identity.requestPlcOperationSignature
*/
@Serializable
public data class SignPlcOperationRequest(
/**
* A token received through com.atproto.identity.requestPlcOperationSignature
*/
public val token: String? = null,
public val rotationKeys: ReadOnlyList = persistentListOf(),
public val alsoKnownAs: ReadOnlyList = persistentListOf(),
public val verificationMethods: JsonContent? = null,
public val services: JsonContent? = null,
)
/**
* @param operation A signed DID PLC operation.
*/
@Serializable
public data class SignPlcOperationResponse(
/**
* A signed DID PLC operation.
*/
public val operation: JsonContent,
)