GetContractJWTTokenError
public enum GetContractJWTTokenError : Error, Sendable
Errors that occur during runtime SEP-45 authentication operations. These errors represent failures when executing the authentication flow to obtain a JWT token.
-
Network or server request failed during SEP-45 authentication flow.
Declaration
Swift
case requestError(error: Error) -
Failed to request challenge from the authentication server.
Declaration
Swift
case challengeRequestError(message: String) -
Failed to submit signed challenge to the authentication server.
Declaration
Swift
case submitChallengeError(message: String) -
The challenge submission request timed out (HTTP 504).
Declaration
Swift
case submitChallengeTimeout -
The server returned an unknown or unexpected response.
Declaration
Swift
case submitChallengeUnknownResponse(statusCode: Int) -
Failed to parse server response or authorization entry data.
Declaration
Swift
case parsingError(message: String) -
Challenge authorization entries validation failed due to security or protocol violation.
Declaration
Swift
case validationError(error: ContractChallengeValidationError) -
Failed to sign the authorization entries with the provided signing keys.
Declaration
Swift
case signingError(message: String)
View on GitHub
Install in Dash