Package-level declarations

Types

Link copied to clipboard
class Sep45ChallengeRequestException(message: String, val statusCode: Int? = null, val errorMessage: String? = null) : Sep45Exception

Exception thrown when requesting authorization entries from the server fails.

Link copied to clipboard

Base exception for SEP-45 challenge validation errors.

Link copied to clipboard
open class Sep45Exception(message: String, cause: Throwable? = null) : Exception

Base exception for all SEP-45 Web Authentication for Contracts errors.

Link copied to clipboard

Exception thrown when the account argument doesn't match the client's contract account.

Link copied to clipboard

Exception thrown when authorization entry arguments are invalid or malformed.

Link copied to clipboard

Exception thrown when the authorization entry targets a different contract than expected.

Link copied to clipboard

Exception thrown when the authorization entry calls an unexpected function.

Link copied to clipboard

Exception thrown when the home_domain argument doesn't match the expected domain.

Link copied to clipboard

Exception thrown when the network passphrase doesn't match the expected network.

Link copied to clipboard

Exception thrown when the nonce argument is missing or inconsistent.

Link copied to clipboard

Exception thrown when the server's signature on an authorization entry is invalid.

Link copied to clipboard

Exception thrown when the web_auth_domain argument doesn't match the auth endpoint host.

Link copied to clipboard

Exception thrown when client domain authentication is misconfigured.

Link copied to clipboard

Exception thrown when a required client entry is missing from the challenge.

Link copied to clipboard

Exception thrown when the server's authorization entry is missing from the challenge.

Link copied to clipboard

Exception thrown when the domain's stellar.toml is missing the WEB_AUTH_CONTRACT_ID.

Link copied to clipboard

Exception thrown when the domain's stellar.toml is missing the WEB_AUTH_FOR_CONTRACTS_ENDPOINT.

Link copied to clipboard

Exception thrown when the domain's stellar.toml is missing the SIGNING_KEY.

Link copied to clipboard

Exception thrown when an authorization entry contains sub-invocations.

Link copied to clipboard

Exception thrown when a SEP-45 operation times out.

Link copied to clipboard
class Sep45TokenSubmissionException(message: String, val statusCode: Int? = null, val errorMessage: String? = null) : Sep45Exception

Exception thrown when submitting signed authorization entries to obtain a JWT token fails.

Link copied to clipboard
class Sep45UnknownResponseException(message: String, val code: Int, val body: String) : Sep45Exception

Exception thrown when the server returns an unexpected or unparseable response.