types

package
v0.0.0-...-702b61e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attestation

type Attestation struct {
	CredentialId      string
	ClientDataJson    string
	AttestationObject string
	Transports        []string
}

type AuthenticationRequest

type AuthenticationRequest struct {
	SignedWhoamiRequest SignedTurnkeyRequest
	SubOrganizationId   string // optional; for email auth
}

type BroadcastTxParams

type BroadcastTxParams struct {
	SignedSendTx string `json:"signedSendTx" binding:"required"`
}

type ConstructTxParams

type ConstructTxParams struct {
	Destination string `json:"destination" binding:"required"`
	Amount      string `json:"amount" binding:"required"`
}

type EmailAuthParams

type EmailAuthParams struct {
	Email           string `json:"email" binding:"required"`
	TargetPublicKey string `json:"targetPublicKey" binding:"required"`
}

type ExportRequest

type ExportRequest struct {
	SignedExportRequest SignedTurnkeyRequest `json:"signedExportRequest" binding:"required"`
}

type RecoverRequest

type RecoverRequest struct {
	SignedRecoverRequest SignedTurnkeyRequest `json:"signedRecoverRequest" binding:"required"`
}

type RecoveryParams

type RecoveryParams struct {
	Email           string `json:"email" binding:"required"`
	TargetPublicKey string `json:"targetPublicKey" binding:"required"`
}

type RegistrationRequest

type RegistrationRequest struct {
	Email       string
	Attestation Attestation
	Challenge   string
}

type SendTxParams

type SendTxParams struct {
	SignedSendTx SignedTurnkeyRequest `json:"signedSendTx" binding:"required"`
}

type SignedTurnkeyRequest

type SignedTurnkeyRequest struct {
	Url   string
	Body  string
	Stamp TurnkeyStamp `json:"stamp" binding:"required"`
}

type TurnkeyStamp

type TurnkeyStamp struct {
	StampHeaderName  string
	StampHeaderValue string
}

type WhoamiRequest

type WhoamiRequest struct {
	SignedWhoamiRequest SignedTurnkeyRequest `json:"signedWhoamiRequest" binding:"required"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL