CreateAccountRequest

data class CreateAccountRequest(val email: String? = null, val handle: Handle, val did: Did? = null, val inviteCode: String? = null, val verificationCode: String? = null, val verificationPhone: String? = null, val password: String? = null, val recoveryKey: String? = null, val plcOp: JsonContent? = null)

Parameters

handle

Requested handle for the account.

did

Pre-existing atproto DID, being imported to a new account.

password

Initial account password. May need to meet instance-specific password strength requirements.

recoveryKey

DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.

plcOp

A signed DID PLC operation to be submitted as part of importing an existing account to this instance. NOTE: this optional field may be updated when full account migration is implemented.

Constructors

Link copied to clipboard
constructor(email: String? = null, handle: Handle, did: Did? = null, inviteCode: String? = null, verificationCode: String? = null, verificationPhone: String? = null, password: String? = null, recoveryKey: String? = null, plcOp: JsonContent? = null)

Properties

Link copied to clipboard
val did: Did? = null

Pre-existing atproto DID, being imported to a new account.

Link copied to clipboard
val email: String? = null
Link copied to clipboard

Requested handle for the account.

Link copied to clipboard
val inviteCode: String? = null
Link copied to clipboard
val password: String? = null

Initial account password. May need to meet instance-specific password strength requirements.

Link copied to clipboard
val plcOp: JsonContent? = null

A signed DID PLC operation to be submitted as part of importing an existing account to this instance. NOTE: this optional field may be updated when full account migration is implemented.

Link copied to clipboard
val recoveryKey: String? = null

DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.

Link copied to clipboard
Link copied to clipboard