Package-level declarations

Types

Link copied to clipboard
data class CheckAccountStatusResponse(val activated: Boolean, val validDid: Boolean, val repoCommit: Cid, val repoRev: String, val repoBlocks: Long, val indexedRecords: Long, val privateStateValues: Long, val expectedBlobs: Long, val importedBlobs: Long)
Link copied to clipboard
data class ConfirmEmailRequest(val email: String, val token: String)
Link copied to clipboard
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)
Link copied to clipboard
data class CreateAccountResponse(val accessJwt: String, val refreshJwt: String, val handle: Handle, val did: Did, val didDoc: JsonContent? = null)

Account login session returned on successful account creation.

Link copied to clipboard
data class CreateAppPasswordAppPassword(val name: String, val password: String, val createdAt: Timestamp, val privileged: Boolean? = null)
Link copied to clipboard
data class CreateAppPasswordRequest(val name: String, val privileged: Boolean? = null)
Link copied to clipboard
data class CreateInviteCodeRequest(val useCount: Long, val forAccount: Did? = null)
Link copied to clipboard
Link copied to clipboard
data class CreateInviteCodesAccountCodes(val account: String, val codes: List<String>)
Link copied to clipboard
data class CreateInviteCodesRequest(val codeCount: Long, val useCount: Long, val forAccounts: List<Did> = emptyList())
Link copied to clipboard
data class CreateSessionRequest(val identifier: String, val password: String, val authFactorToken: String? = null, val allowTakendown: Boolean? = null)
Link copied to clipboard
data class CreateSessionResponse(val accessJwt: String, val refreshJwt: String, val handle: Handle, val did: Did, val didDoc: JsonContent? = null, val email: String? = null, val emailConfirmed: Boolean? = null, val emailAuthFactor: Boolean? = null, val active: Boolean? = null, val status: CreateSessionStatus? = null)
Link copied to clipboard

If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.

Link copied to clipboard
data class DeactivateAccountRequest(val deleteAfter: Timestamp? = null)
Link copied to clipboard
data class DeleteAccountRequest(val did: Did, val password: String, val token: String)
Link copied to clipboard
data class DescribeServerContact(val email: String? = null)
Link copied to clipboard
data class DescribeServerLinks(val privacyPolicy: Uri? = null, val termsOfService: Uri? = null)
Link copied to clipboard
data class DescribeServerResponse(val inviteCodeRequired: Boolean? = null, val phoneVerificationRequired: Boolean? = null, val availableUserDomains: List<String>, val links: DescribeServerLinks? = null, val contact: DescribeServerContact? = null, val did: Did)
Link copied to clipboard
data class GetAccountInviteCodesQueryParams(val includeUsed: Boolean? = true, val createAvailable: Boolean? = true)
Link copied to clipboard
data class GetServiceAuthQueryParams(val aud: Did, val exp: Long? = null, val lxm: Nsid? = null)
Link copied to clipboard
Link copied to clipboard
data class GetSessionResponse(val handle: Handle, val did: Did, val email: String? = null, val emailConfirmed: Boolean? = null, val emailAuthFactor: Boolean? = null, val didDoc: JsonContent? = null, val active: Boolean? = null, val status: GetSessionStatus? = null)
Link copied to clipboard

If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.

Link copied to clipboard
data class InviteCode(val code: String, val available: Long, val disabled: Boolean, val forAccount: String, val createdBy: String, val createdAt: Timestamp, val uses: List<InviteCodeUse>)
Link copied to clipboard
data class InviteCodeUse(val usedBy: Did, val usedAt: Timestamp)
Link copied to clipboard
data class ListAppPasswordsAppPassword(val name: String, val createdAt: Timestamp, val privileged: Boolean? = null)
Link copied to clipboard
data class RefreshSessionResponse(val accessJwt: String, val refreshJwt: String, val handle: Handle, val did: Did, val didDoc: JsonContent? = null, val active: Boolean? = null, val status: RefreshSessionStatus? = null)
Link copied to clipboard

Hosting status of the account. If not specified, then assume 'active'.

Link copied to clipboard
data class RequestEmailUpdateResponse(val tokenRequired: Boolean)
Link copied to clipboard
Link copied to clipboard
data class ReserveSigningKeyRequest(val did: Did? = null)
Link copied to clipboard
data class ReserveSigningKeyResponse(val signingKey: String)
Link copied to clipboard
data class ResetPasswordRequest(val token: String, val password: String)
Link copied to clipboard
Link copied to clipboard
data class UpdateEmailRequest(val email: String, val emailAuthFactor: Boolean? = null, val token: String? = null)