enablePinAuthentication abstract method

Future<void> enablePinAuthentication({
  1. required Pin pin,
  2. required UserId userId,
})

Writes to the repository the user's preference to have local authentication enabled with the given pin, for the user with userId

Implementation

Future<void> enablePinAuthentication({
  required Pin pin,
  required UserId userId,
});