Package-level declarations

Types

Link copied to clipboard
data class AuthToken(val token: String, val iss: String? = null, val sub: String? = null, val iat: Long? = null, val exp: Long? = null, val jti: String? = null, val clientDomain: String? = null)

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

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

Response from a SEP-10 challenge request.

Link copied to clipboard

Functional interface for delegating client domain transaction signing to external services.

Link copied to clipboard
class WebAuth(val authEndpoint: String, val network: Network, val serverSigningKey: String, val serverHomeDomain: String, val gracePeriodSeconds: Int = 300, httpClient: HttpClient? = null, httpRequestHeaders: Map<String, String>? = null, val clientDomainSigningDelegate: ClientDomainSigningDelegate? = null)

SEP-10 Web Authentication client.