authenticate
suspend fun authenticate(accountAddress: AccountKeyPair, walletSigner: WalletSigner? = null, memoId: ULong? = null, clientDomain: String? = null): AuthToken
Content copied to clipboard
Authenticates to an external server.
Return
authentication token (JWT)
Parameters
account Address
Stellar address of the account authenticating
wallet Signer
overriding Sep10.defaultSigner to use in this authentication
memo Id
optional memo ID to distinguish the account
client Domain
optional domain hosting stellar.toml file containing SIGNING_KEY
Throws
when some of the request arguments are not valid
when JSON response is malformed