signUp abstract method

Future<TotpResponse> signUp({
  1. required String loginId,
  2. SignUpDetails? details,
})

Authenticates a new user using a TOTP.

This function creates a new user identified by loginId and the optional information provided on via the details object. It returns a TotpResponse.key (seed) that allows authenticator apps to generate TOTP codes. The same information is returned in multiple formats.

Implementation

Future<TotpResponse> signUp({required String loginId, SignUpDetails? details});