pub fn build_ws_login(
wallet: &str,
signer: &PrivateKeySigner,
) -> Result<WsLogin, AuthError>Expand description
Builds the WebSocket login body using the system clock.
ยงErrors
Returns AuthError::ClockBeforeEpoch if the system clock is invalid,
or AuthError::SigningFailed when the underlying secp256k1 signer errors.