SealdAuthFactorArray_Add method

void SealdAuthFactorArray_Add(
  1. Pointer<NativeSealdAuthFactorArray> array,
  2. Pointer<Utf8> authFactorType,
  3. Pointer<Utf8> authFactorValue
)

SealdAuthFactorArray_Add adds a given string to the array. SealdAuthFactorArray_Add does not take ownership of the given strings. It creates a copy for itself.

@param array The SealdAuthFactorArray to add a string to. @param authFactorType The type of the authFactor to add. @param authFactorValue The value of the authFactor to add.

Implementation

void SealdAuthFactorArray_Add(
  ffi.Pointer<NativeSealdAuthFactorArray> array,
  ffi.Pointer<pkg_ffi.Utf8> authFactorType,
  ffi.Pointer<pkg_ffi.Utf8> authFactorValue,
) {
  return _SealdAuthFactorArray_Add(
    array,
    authFactorType,
    authFactorValue,
  );
}