register abstract method
Atomically persists a user and its password credential.
The credential must contain an encoded password hash, never plaintext.
Implementation
FutureOr<AuthUser?> register(
AuthUser user,
AuthPasswordCredential credential,
);