SealdSdk_PushJWT method

int SealdSdk_PushJWT(
  1. Pointer<NativeSealdSdk> sealdSdk,
  2. Pointer<Utf8> jwt,
  3. Pointer<Pointer<NativeSealdError>> error
)

Push a given JWT to the Seald server, for example to add a connector to the current account.

@param sealdSdk The SealdSdk instance. @param jwt The JWT to push. @param error A pointer to a SealdError* where details will be stored in case of error. @return Error code: -1 if an error happened, 0 for success.

Implementation

int SealdSdk_PushJWT(
  ffi.Pointer<NativeSealdSdk> sealdSdk,
  ffi.Pointer<pkg_ffi.Utf8> jwt,
  ffi.Pointer<ffi.Pointer<NativeSealdError>> error,
) {
  return _SealdSdk_PushJWT(
    sealdSdk,
    jwt,
    error,
  );
}