Module auth

Module auth 

Source
Expand description

DPlus TCP authentication client.

Performs the mandatory TCP auth step with auth.dstargateway.org:20001 before a DPlus (REF) reflector will accept UDP packets from the callsign. Returns a [dstar_gateway_core::codec::dplus::HostList] of known REF reflectors cached by the auth server.

Structs§

AuthClient
DPlus TCP authentication client.

Enums§

AuthError
DPlus TCP auth errors.
AuthPhase
Phase discriminator for AuthError::Timeout.

Constants§

DEFAULT_AUTH_ENDPOINT
Default auth server hostname+port, matching ircDDBGateway.