loginUser abstract method
- @POST.new('/auth/login')
- @Body.new() required LoginRequest body,
Login account.
Authenticate with email and password. Returns authentication token if credentials are valid and MFA is not required. If MFA is enabled, returns a ticket for MFA verification.
body - Name not received - field will be skipped.
Implementation
@POST('/auth/login')
Future<AuthLoginResponse> loginUser({@Body() required LoginRequest body});