id1_client 1.0.0 copy "id1_client: ^1.0.0" to clipboard
id1_client: ^1.0.0 copied to clipboard

client for id1 api

Dart/Flutter client for id1 API #

https://github.com/qodex/id1

Example:

var id1 = Id1ClientHttp(apiUrl: apiUrl);

if (!(await id1.authenticate(id, privateKeyPEM))) {
  print("failed to authenticate");
  return;
}

var key = Id1Key("$id/test/val");
await id1.set(key, utf8.encode("Hello id1"));
var val = await id1.get(key);
print(utf8.decode(val ?? []));
await id1.del(key);
0
likes
130
points
115
downloads

Publisher

unverified uploader

Weekly Downloads

client for id1 api

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

asn1lib, dart_jsonwebtoken, http, logging, pointycastle, uuid, websocket_universal

More

Packages that depend on id1_client