zuraffa_auth_android library
Android adapter for zuraffa_auth: platform credential sign-in and
encrypted session persistence over one injected channel seam.
Classes
- AndroidAuthChannel
-
The Android channel: the shared
PlatformAuthEnvelopemachinery with the Android taxonomy as a pure data set. - AndroidAuthContext
- Android app identity metadata merged into every channel request.
- AndroidCredentialAuthProvider
-
The Android credential provider: platform credential sign-in
(Credential-Manager-shaped) speaking the zuraffa_auth
AuthProvidercontract over the injected AndroidAuthChannel. - AndroidSecureSessionStore
-
The encrypted session store:
PortableSessionJSON envelopes held in platform-encrypted storage (EncryptedSharedPreferences-shaped) through the injected AndroidAuthChannel. Satisfies theSessionPortcontract — a corrupted payload reads as signed-out, never throws.
Functions
-
registerAndroidAuthDependencies(
GetIt getIt, {AndroidAuthChannel? channel, AndroidAuthContext? context, Duration? timeout}) → void -
Registers the Android adapter on
getIt: the credential provider (asAuthProvider) and the secure store (asSessionPort) — the same contracts the rootregisterAuthDependenciesconsumes.
Exceptions / Errors
- AndroidAuthException
- The typed native failure.