WebAuth constructor
WebAuth(})
Constructor
- Parameter authEndpoint: Endpoint to be used for the authentication procedure. Usually taken from stellar.toml.
- Parameter network: The network used.
- Parameter serverSigningKey: The server public key, taken from stellar.toml.
- Parameter serverHomeDomain: The server home domain of the server where the stellar.toml was loaded from
Implementation
WebAuth(this._authEndpoint, this._network, this._serverSigningKey,
this._serverHomeDomain, {http.Client? httpClient}) {
if (httpClient != null) {
this.httpClient = httpClient;
} else {
this.httpClient = http.Client();
}
}