updateAccountBasic method

Future updateAccountBasic(
  1. String userId,
  2. String username,
  3. String password,
  4. AccountParams? params,
)

Update account with basic

Implementation

Future updateAccountBasic(
    String userId, String username, String password, AccountParams? params) {
  var secret = base64.encode(utf8.encode(username + ':' + password));
  return account(userId, 'basic', secret, false, params);
}