login abstract method

Future<Principal?> login(
  1. LoginRequest req
)

Validates req with a real handshake, persists it as the default login, and makes it the active connection. Returns the principal, or throws.

Implementation

Future<Principal?> login(LoginRequest req);