loginWithTotp abstract method

  1. @POST.new('/auth/login/mfa/totp')
Future<AuthTokenWithUserIdResponse> loginWithTotp({
  1. @Body.new() required MfaTotpRequest body,
})

Login with TOTP.

Complete login by verifying TOTP code during multi-factor authentication. Requires the MFA ticket from initial login attempt.

body - Name not received - field will be skipped.

Implementation

@POST('/auth/login/mfa/totp')
Future<AuthTokenWithUserIdResponse> loginWithTotp({
  @Body() required MfaTotpRequest body,
});