commonMain.com.atproto.server.createAppPassword.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky Show documentation
Show all versions of bluesky Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package com.atproto.server
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
/**
* @param name A short name for the App Password, to help distinguish them.
* @param privileged If an app password has 'privileged' access to possibly sensitive account state.
* Meant for use with trusted clients.
*/
@Serializable
public data class CreateAppPasswordRequest(
/**
* A short name for the App Password, to help distinguish them.
*/
public val name: String,
/**
* If an app password has 'privileged' access to possibly sensitive account state. Meant for use
* with trusted clients.
*/
public val privileged: Boolean? = null,
)
public typealias CreateAppPasswordResponse = CreateAppPasswordAppPassword