enable abstract method

  1. @POST.new("/two-factor/enable")
Future<Result<TwoFactorEnableResponse>> enable({
  1. @Body.new() required TwoFactorEnableBody body,
})

Enables 2FA. Returns the TOTP URI (render as a QR code) and backup codes.

Implementation

@POST("/two-factor/enable")
Future<Result<TwoFactorEnableResponse>> enable({
  @Body() required TwoFactorEnableBody body,
});