commonMain.com.atproto.server.updateEmail.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 token Requires a token from com.atproto.sever.requestEmailUpdate if the account's email
* has been confirmed.
*/
@Serializable
public data class UpdateEmailRequest(
public val email: String,
public val emailAuthFactor: Boolean? = null,
/**
* Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been
* confirmed.
*/
public val token: String? = null,
)