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 kotlin.collections.List
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.model.JsonContent

/**
 * @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: List = emptyList(),
  public val alsoKnownAs: List = emptyList(),
  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