Package-level declarations

Types

Link copied to clipboard
data class Sep45AuthToken(val token: String, val account: String, val issuedAt: Long, val expiresAt: Long, val issuer: String, val clientDomain: String? = null)

Represents a parsed SEP-45 authentication token (JWT).

Link copied to clipboard
@Serializable
data class Sep45ChallengeResponse(val authorizationEntries: String? = null, val networkPassphrase: String? = null)

Response from a SEP-45 challenge request.

Link copied to clipboard

Delegate for signing a single authorization entry with client domain credentials.

Link copied to clipboard
@Serializable
data class Sep45TokenResponse(val token: String? = null, val error: String? = null)

Response from submitting signed authorization entries.

Link copied to clipboard
class WebAuthForContracts(val authEndpoint: String, val webAuthContractId: String, val serverSigningKey: String, val serverHomeDomain: String, val network: Network, httpClient: HttpClient? = null, httpRequestHeaders: Map<String, String>? = null, val sorobanRpcUrl: String? = null)

SEP-45 Web Authentication client for contract accounts.