at_client
4.0.0, released 2 weeks ago by atsign.org
Client SDK for building apps on the atProtocol with end-to-end encryption.
What it does
Talks to an atSign's personal atServer to transparently handle key management, end-to-end encryption, background sync, notifications, and onboarding/APKAM enrollment. It provides platform-neutral client methods for Dart and Flutter applications.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a Dart CLI, server, or IoT program that connects to the atProtocol.
- Handling secure peer-to-peer data synchronization and messaging through an atServer.
Skip it when
- Building a Flutter web application, as Flutter web is not supported by atSign onboarding and key storage plugins.
- Working with standard REST or GraphQL backends that do not use the atProtocol.
Strengths
- Provides end-to-end encryption and post-quantum cryptography support.
- Handles complex device onboarding and APKAM enrollment natively.
Weaknesses
- Flutter web is not supported due to platform storage and onboarding limitations.
- Requires understanding of atProtocol concepts like atSigns, atServers, and namespaces.
Setup
- Kind
- Pure Dart
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 16
Requires setting up keys (such as FileAtKeysIo or device keychain), local storage backends like Hive or SQLite, and an atDirectory secondary address finder.
import 'package:at_client/at_client_io.dart';
import 'package:at_client/hive.dart';
final client = await Atsign('@alice').open(
keys: FileAtKeysIo(filePath: (_) => '/keys/@alice_key.atKeys'),
storage: HiveAtClientStorage(atSign: '@alice', storagePath: dir, closedByClient: true),
preference: AtClientPreference()..namespace = 'todos',
lookUps: secureSocketLookUps(),
secondaryAddressFinder: CacheableSecondaryAddressFinder('root.atsign.org', 64));Alternatives
Packages that do the same job and could replace at_client.
- flutter_line_sdk
Flutter plugin to access native LINE SDKs for LINE Login integration.
86Compare - auth0_flutter
Auth0 SDK for Flutter to integrate Auth0 authentication into mobile, desktop, and web apps.
90Compare - smile_id
Official Smile ID SDK for real-time digital KYC, identity verification, and onboarding.
71Compare - logto_dart_sdk
Official Logto Flutter SDK for OAuth2 authentication flows.
65Compare
Works with
Packages commonly used together with at_client: ones it builds on, ones built on it, and its own family.
- cryptoat_client depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- uuidat_client depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- hiveat_client depends on itFast, pure Dart key-value store with optional AES-256 encryption
- encryptat_client depends on itHigh‑level Dart APIs for encryption, decryption, signing and secure random generation.
- mutexat_client depends on itMutual exclusion locks and read-write locks for asynchronous Dart code
- cryptonat_client depends on itA simple Dart library for asymmetric encryption and digital signatures.
- at_lookupat_client depends on itCore commands implementation for communicating with an Atsign secondary server.
- at_utilsat_client depends on itUtility library for Atsign Protocol projects with atSign helpers and logging.