RecoveryServer

data class RecoveryServer(endpoint: String, authEndpoint: String, homeDomain: String, walletSigner: WalletSigner?, clientDomain: String?)

Recovery server configuration

Constructors

Link copied to clipboard
fun RecoveryServer(endpoint: String, authEndpoint: String, homeDomain: String, walletSigner: WalletSigner? = null, clientDomain: String? = null)

Create empty Recovery server

Properties

Link copied to clipboard
val authEndpoint: String

SEP-10 auth endpoint to be used. Should be in format <https://domain/auth>. E.g. https://testanchor.stellar.org/auth)

Link copied to clipboard
val clientDomain: String? = null
Link copied to clipboard
val endpoint: String

main endpoint (root domain) of SEP-30 recovery server. E.g. https://testanchor.stellar.org

Link copied to clipboard
val homeDomain: String

is a SEP-10 home domain. E.g. testanchor.stellar.org

Link copied to clipboard
val walletSigner: WalletSigner? = null

optional WalletSigner used to sign authentication