ChallengeValidationError
public enum ChallengeValidationError : Error, Sendable
Challenge validation errors.
-
The transaction sequence number is not 0 as required by SEP-10.
Declaration
Swift
case sequenceNumberNot0 -
The source account of an operation does not match the expected account.
Declaration
Swift
case invalidSourceAccount -
An operation is missing the required source account field.
Declaration
Swift
case sourceAccountNotFound -
An operation type is not allowed in the challenge transaction.
Declaration
Swift
case invalidOperationType -
The number of operations in the challenge transaction is invalid.
Declaration
Swift
case invalidOperationCount -
The home domain in the challenge does not match the expected domain.
Declaration
Swift
case invalidHomeDomain -
The transaction time bounds are invalid or expired.
Declaration
Swift
case invalidTimeBounds -
The server signature on the challenge transaction is invalid.
Declaration
Swift
case invalidSignature -
The required server signature is missing from the challenge transaction.
Declaration
Swift
case signatureNotFound -
General validation failure occurred during challenge verification.
Declaration
Swift
case validationFailure -
The transaction type is not supported for SEP-10 challenges.
Declaration
Swift
case invalidTransactionType -
The web_auth_domain value does not match the authentication endpoint domain.
Declaration
Swift
case invalidWebAuthDomain -
Both a memo and muxed source account were provided, which is not allowed.
Declaration
Swift
case memoAndMuxedSourceAccountFound -
The memo type in the challenge transaction is not the expected type.
Declaration
Swift
case invalidMemoType -
The memo value does not match the expected value.
Declaration
Swift
case invalidMemoValue
View on GitHub
Install in Dash