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

commonMain.com.atproto.identity.signPlcOperation.kt Maven / Gradle / Ivy

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,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy